<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Project layout for business archives in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17937#M8114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree we should have a convention for one project per business archive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The proposed project layout also looks fine with me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if I agree with a choice between an Ant and a Maven based project. To get the necessary project dependencies Maven, to my opinion, is a better approach because it's pretty much the default standard in Java space and also very convenient for Cycle and Designer to use. So I'm thinking about the following approach for the project layout:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. To start with, we have a Maven based project structure with an additional Ant build file just for deploying and creating the BAR file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. When the Maven plugins are in place, we can optionally remove the Ant build file, because deployment and BAR creation are then possible via Maven.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tijs&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Dec 2010 21:00:20 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2010-12-27T21:00:20Z</dc:date>
    <item>
      <title>Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17936#M8113</link>
      <description>In the past, I always saw executable processes always inside the project where developers created their own business application.&amp;nbsp; I think it becomes a lot easier to guide developers when we use the convention and advice that developers should use a single project for every business archive that the</description>
      <pubDate>Thu, 23 Dec 2010 15:09:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17936#M8113</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2010-12-23T15:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17937#M8114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree we should have a convention for one project per business archive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The proposed project layout also looks fine with me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if I agree with a choice between an Ant and a Maven based project. To get the necessary project dependencies Maven, to my opinion, is a better approach because it's pretty much the default standard in Java space and also very convenient for Cycle and Designer to use. So I'm thinking about the following approach for the project layout:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. To start with, we have a Maven based project structure with an additional Ant build file just for deploying and creating the BAR file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. When the Maven plugins are in place, we can optionally remove the Ant build file, because deployment and BAR creation are then possible via Maven.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tijs&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 21:00:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17937#M8114</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2010-12-27T21:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17938#M8115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i can see the dependencies convenience we get from maven.&amp;nbsp; that is exactly why in the rc1 i tried to leverage that in the distro.&amp;nbsp; turns out that many of our users ran into trouble with that.&amp;nbsp; and the big problem was that if they ran into trouble, they didn't have a clue on how to fix it.&amp;nbsp; therefor I switched to including the libraries back into the distribution and build the mechanism based on the setup/files/dependencies/*.txt files that list the dependencies.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there are pro's and con's in both approaches.&amp;nbsp; but I think it is important that we stick with 1 consistent approach for dealing with dependencies in the example projects and in the template project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;we already have a dependency on ant for out users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;we should only introduce an extra dependency on maven if that is necessary.&amp;nbsp; and i don't see that necessity yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on the contrary, i can see how all scripting work could be done in ant, but not in maven.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with ant:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - easier to leverage the ant deployment task.&amp;nbsp; how do integrate that in the maven deploy phase.&amp;nbsp; doable but more tricky imo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - eclipse standard edition has an ant view in which you can drag and drop the project files and then double click on the targets.&amp;nbsp; with maven you need to install the maven plugin… and even then there is nothing like that afaict.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what is the benefit for using maven as the build in the example/template project?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 08:20:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17938#M8115</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2010-12-28T08:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17939#M8116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First an answer for Tijs (for your mail as well): I would be pretty happy with Maven and one additional Ant file. A template project for this is already present which is used in the "CreateDefaultMavenProject". Currently it is packed as zip, but creating an archetype from it (and adjust it correctly) is not a big deal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now for Ant vs. Maven: Actually I am tired of discussing that all over again all the time everywhere. In most real life project I now see Maven being used, and I would use that as the default for now. Then we could easily propose a default layout with Multi Module projects, one containing the classes, one the processes and forms for the bar, and maybe a war or whatever. Maven has the built in Archetypes, in Ant we have to do that all on our own.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you want to do the dependency management in the default project then? Please not with some stuff like "Eclipse classpath containers" or the like, I hate that in Drools or jBPM, because projects are not easy importable in a normal Eclipse or runnable without Eclipse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ant and Ivy would be a second option, a valid one! But I would go for it only in the second step. And then you have to explain the people Ivy or any other dependency mechanism as well. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see the point that it shouldn't be necessary to explain the people Maven to INSTALL Activiti, but to create development projects, the people should now more. If they don't want to go with Maven, they still can create any Ant project they want…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But to summarize: My vote goes for Maven, and there we almost have the Archetype ready, so it is easy to do.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 08:33:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17939#M8116</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2010-12-28T08:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17940#M8117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, and as a addition: In Cycle it is easy to support both, we just add another Plug-In creating an Ant project. It is just that somebody has to create that Ant Template and introduce it there. So it is just a matter of effort &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 08:38:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17940#M8117</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2010-12-28T08:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17941#M8118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bernd, this is not a discussion about mvn vs ant.&amp;nbsp;&amp;nbsp; This is about what experience we want to give our users.&amp;nbsp; Currently our users have a dependency on ant.&amp;nbsp; They need to download and install ant before they can start running the Activiti demo setup.&amp;nbsp; In order to maximize our reach to a bigger audience, I think, we should try to remove such dependencies instead of introducing an extra dependency to have maven installed.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Working out an installer with e.g. IzPack would be great.&amp;nbsp; That installer could ask which components you want to have installed.&amp;nbsp; Ideally it would scan for existing JVM, ant, maven versions and indicate if those are appropriate.&amp;nbsp; And then offer to download and install any of those components.&amp;nbsp; Minimizing the need for installed components is making it the user a lot easier I think.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And that is my problem with the extra dependency on maven.&amp;nbsp; (and not the fact that developers don't want to work with maven)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 12:05:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17941#M8118</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-01-03T12:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17942#M8119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tom.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But these are different issues: First is about Installation of Activiti itself. I agree with you, that has to be as simple as possible. And even graphical steering of Ant or IzPack would be preferrable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the default project layout is about development projects done with Activiti. And if you do a development project with Java, you have to know Java, Ant and today Maven. There is no way around and no need to hide. We don't build a zero coding tool, so I don't have problems with that. So I would go for the solution making the most sense for the development projects. And that is Maven at the moment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 14:38:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17942#M8119</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2011-01-03T14:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17943#M8120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tom and Bernd,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also see two things in the discussion. First the installation of Activiti and getting started with tools like the Modeler, KickStart, Explorer and Probe without any coding and minimizing the dependencies. If we can do this in a nice IzPack installation that would be great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second is the development cycle of developers working with Activiti in their projects. Most Java developers favor Maven for their project layout, dependencies and management over Ant. So we should support the developers with Maven based projects from Cycle and the Designer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 14:57:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17943#M8120</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-01-03T14:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17944#M8121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see the point.&amp;nbsp; And I agree with your both reasonings.&amp;nbsp; But there are still a couple open issues with that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) aren't we inconsistent if the example projects in the distro are done with ant and the default project build with maven?&amp;nbsp; so we create a diff between the example projects in the distro and the new project wizzards in designer and cycle.&amp;nbsp; i'm concerned that is a hurdle &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) with maven, how is the deployment to the database going to be handled?&amp;nbsp; calling ant from maven is a possibility. but what phase should we bind it too?&amp;nbsp; i can't find a logical answer to that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) ant-eclipse integration.&amp;nbsp; i think it's an easy win to leverage the eclipse-ant view for offering a deploy button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so could this proposal meet both sides:&amp;nbsp; we use the maven pom as the basis for building the .bar archive.&amp;nbsp; and we offer an ant target for deploying to the activiti-DB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* so we just take a different approach for the distro examples as for the template for real life projects.&amp;nbsp; I could consider those different use cases and therefor I could ignore that this might be inconsistent&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* in the template for real life projects, we use the maven defaults for building, the business archive.&amp;nbsp; we don't do deployment in maven itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* we add an ant file that has a deploy target to deploy to an activiti DB.&amp;nbsp; that ant target calls out to maven to fetch the dependencies and then use the deploy-bar task.&amp;nbsp; this way we prevent confusion between 2 potential interpretations of 'deploy' in maven.&amp;nbsp; and can still leverage the eclipse-ant view. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;WDYT?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 09:55:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17944#M8121</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-01-04T09:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17945#M8122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tom.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you describe is exactly what is currently done in the default project layout (maybe you have a look at it?). we have a Maven project but an additional Ant file for the deployment, using the Maven-Ant-Tasks to call Maven. What is not yet there is, that it should be a Multi-Module-Maven Project with Modules for the bar and Modules for the jars.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the moment I would be happy with that solution. In the long run a Maven Plug-In could make sense as well, but from my side we can skip this for now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the example projects: Best would be to migrate them to the Maven structure as well as soon as we have it. That indeed should better be the same IMHO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 10:02:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17945#M8122</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2011-01-04T10:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17946#M8123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What you describe is exactly what is currently done in the default project layout (maybe you have a look at it?). we have a Maven project but an additional Ant file for the deployment, using the Maven-Ant-Tasks to call Maven.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;ok, that looks good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What is not yet there is, that it should be a Multi-Module-Maven Project with Modules for the bar and Modules for the jars.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;there are 2 flavours of class deployment that we want to support:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) classes in a jar in the webapp's classpath.&amp;nbsp; that is the only option we support today.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) asap (one of the next months?) we'll also support classloading from the business archive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;we should take into account that we'll want to support both of those approaches.&amp;nbsp; so they should preferrably be consistent with each other.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;from what i can see now, it makes the most sense to focus on just a single business archive module that serves the business archive purpose.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for the delegation classes that should be deployed to the webapp, people should use the existing jar packaging.&amp;nbsp; basically there is nothing we can offer there.&amp;nbsp; maybe an ant script that copies the resulting jar file to the webserver.&amp;nbsp; but that is probably not necessary.&amp;nbsp; as the jar file will typically be included into a user war as a dependency.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i think we can also leave the combination these and other modules into a multimodule project to the user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;For the moment I would be happy with that solution. In the long run a Maven Plug-In could make sense as well, but from my side we can skip this for now.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;agreed with skipping that for now.&amp;nbsp; I don't see the need for that as well.&amp;nbsp; We should be able to do it by using plain pom configurations and a plugin here and there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;For the example projects: Best would be to migrate them to the Maven structure as well as soon as we have it. That indeed should better be the same IMHO.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;See my earlier post: we had that before and users ran into problems with that approach.&amp;nbsp; And most problematic was that if there's problems, the examples build was a piece of magic and they got stuck completely.&amp;nbsp; That was the original reasoning why we switched back to including the jars in the distro and why i brought up this thread in this context.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So i think we're looking at a tradeoff here.&amp;nbsp; Or we have the distro example project consistent with the template-real-life project, in which case the template-real-life project it has to be ant based.&amp;nbsp; Or we accept this difference between distro example project (ant based) and the template-real-life project (maven based)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 12:41:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17946#M8123</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-01-04T12:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17947#M8124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, actually I don't care too much about the examples personally, so I don't have problems to treat them differently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But you now raise a third subject, which is indeed interesting. What kind of architectures and deployment options should be supported.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You described:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.) Including libs in the Activiti rest webapp (actually: The current Ant file copies the jar already there for you. Please take a look at the current template).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.) Adding Activiti jars to your own app together with the delegation classes and start an own engine within your app (would work with war, ear, …)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is missing IMHO is a third variant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.) Having an single Engine deployed and but deploying several applications containing delegation classes&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But that gets interesting. I see different approaches to make that happen:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a) Deploying the Delegates together with the bar file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; –&amp;gt; I think that is a poor solution. Classes in the database a bad idea. And you not only need delegation classes, but client-jars, third party libs, …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b) Hooking into the Deployment Architecture of the server. This is what we did with jBPM 3 already (see &lt;/SPAN&gt;&lt;A href="http://www.bpm-guide.de/2008/10/16/jbpm-deployer-for-jbpm-in-enterprise-environments/" rel="nofollow noopener noreferrer"&gt;http://www.bpm-guide.de/2008/10/16/jbpm-deployer-for-jbpm-in-enterprise-environments/&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="http://www.bpm-guide.de/2008/11/14/jbpm-deployer-status-and-sourcecode/" rel="nofollow noopener noreferrer"&gt;http://www.bpm-guide.de/2008/11/14/jbpm-deployer-status-and-sourcecode/&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; –&amp;gt; Advantage: Really Enterprise ready&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; –&amp;gt; Disadvantage: Service specific solution&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be pretty interesting for us to tackle the third case, since this are the real Enterprise installations, but then I don't see a Tomcat but a JBoss solution…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And as stated: Having the classes in the database is not worth the effort IMHO.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 13:36:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17947#M8124</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2011-01-04T13:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17948#M8125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey guys.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Somehow we should draw a conclusion on this and take the next actions on this topic. The deployment options are still interesting, if we clarified this I think we can build a starting default project layout using Maven and Ant as sketched above. Therefor the main action would be to translate the current ZIP-Template into a proper Maven Archetype…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 08:18:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17948#M8125</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2011-01-10T08:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17949#M8126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What is missing IMHO is a third variant&lt;BR /&gt;3.) Having an single Engine deployed and but deploying several applications containing delegation classes&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;With activiti-osgi module it is currently possible to deploy jars/business archives as OSGi bundles. The only point that is missing is classloading stuff. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We find this to be the best solution for processes that are more focused on service integration - this way they can be deployed e.g. in Servicemix ESB. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess it's not suitable for all uses - but I think it's quite important option.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 09:42:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17949#M8126</guid>
      <dc:creator>mproch</dc:creator>
      <dc:date>2011-01-10T09:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17950#M8127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;agreed, we need to come to conclusion.&amp;nbsp; let's discuss it as well on the phone in our meeting next week.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i think putting classes in the bar (and hence in the db) could be a good default as that solution works in all situations without the user having to be very concerned.&amp;nbsp;&amp;nbsp; i agree that we might have to provide multiple ways to deploy classes, but let's limit the number of ways as that might get challenging for a new user on what he has to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then if you want performance optimizations, then you could do other stuff.&amp;nbsp; but speaking of performance, there is a difference between jbpm 4 and what we have now.&amp;nbsp; now we can properly cache the deployment classloaders if we want.&amp;nbsp; that way they will only be read once and the class files will end up in perm gen space just like any other class that is loaded in the vm.&amp;nbsp; just a thought.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;another option that we could investigate is temporary directories.&amp;nbsp; in that case we deploy classes and dependent jars on a temporary directory on the server.&amp;nbsp; then we can create a new plain classloader based on that temp/working directory.&amp;nbsp; then the DB is still the reference and we get the performance of file based classloading.&amp;nbsp; and this solution would also work in clustering mode.&amp;nbsp; and an advantage is that the user always can use the same model for deployment.&amp;nbsp; that might be another path we need to explore.&amp;nbsp; can anyone see problems with this approach?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 11:15:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17950#M8127</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-01-11T11:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17951#M8128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I like the directory approach much more than the db one. Not because of performance, but just serializing classes in a database is wrong. No customer with some serious app ever did it in jBPM, it was always "just" to play around. Having it file based could be a compromise. But then versioning and isolation will be interesting (again, it is not only the delegate, but their dependencies) and I am a bit afraid that we rebuild a whole classloader hierarchy already there in Java EE app servers. Then it would make more sense to introduce a clean JBoss Deployer/Classloading integration in my eyes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For OSGI I cannot say too much, since I am not an expert in that area. The most projects we are currently in use Java EE (JBoss AS), but some now use a Tomcat/Spring architecture as well. We start to see OSGI related projects as well, but I still have to understand that more to comment on it &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 13:31:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17951#M8128</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2011-01-13T13:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Project layout for business archives</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17952#M8129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I agree we should have a convention for one project per business archive.&lt;BR /&gt;The proposed project layout also looks fine with me.&lt;BR /&gt;I don't know if I agree with a choice between an Ant and a Maven based project. To get the necessary project dependencies Maven, to my opinion, is a better approach because it's pretty much the default standard in Java space and also very convenient for Cycle and Designer to use. So I'm thinking about the following approach for the project layout:&lt;BR /&gt;&lt;BR /&gt;1. To start with, we have a Maven based project structure with an additional Ant build file just for deploying and creating the BAR file.&lt;BR /&gt;2. When the Maven plugins are in place, we can optionally remove the Ant build file, because deployment and BAR creation are then possible via Maven.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Tijs&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Do you have an example of 2. Tijs?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my case, I have a maven project that creates a jar (delegates) and a .zip (bar) using a Maven assembly. So, I have my jar and .zip release which I then add as a dependency in e.g. explorer. Where it becomes a real pain is deploying the zip. I've been looking for an example of a Maven pom that deploys a .bar and cannot find one anywhere, please share if anyone has an example.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2012 11:14:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/project-layout-for-business-archives/m-p/17952#M8129</guid>
      <dc:creator>nico1</dc:creator>
      <dc:date>2012-03-10T11:14:14Z</dc:date>
    </item>
  </channel>
</rss>

