12-23-2010 10:09 AM
+ src/main/java –> contains delegation classes that will be deployed in the business archive (future feature)
+ src/main/resources –> .bpmn20.xml process files and other resources like forms and rules
+ build.xml
| + target 'bar' creates the business archive
| + target 'deploy' should deploy the business archive to the configured deployment location
+ pom.xml –> alternative for the build.xml file for developers prefering maven.
+ 'mvn clean install' builds the business archives and deploys it to the local repo
+ 'mvn clean deploy' should deploy it to the configured deployment location01-04-2011 07:41 AM
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.
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.
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.
01-04-2011 08:36 AM
01-10-2011 03:18 AM
01-10-2011 04:42 AM
What is missing IMHO is a third variant
3.) Having an single Engine deployed and but deploying several applications containing delegation classes
01-11-2011 06:15 AM
01-13-2011 08:31 AM
03-10-2012 06:14 AM
I agree we should have a convention for one project per business archive.Do you have an example of 2. Tijs?
The proposed project layout also looks fine with me.
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:
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.
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.
Best regards,
Tijs
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.