Re: Generating Ant Re: Please nominate the bug fixes for Tuscany SCA Java 1.0.1 release
Hi, I found one issue with the plugin. In some cases, we exclude jars from the binary distro, for example, excluding the stax-api-1.0.1 as jaxb-api already pulls in stax-api-1.0-2. But the plugin doesn't have such knowledge. As a result, the generated ant script might reference a non-existing jar. A few options to handle this case: 1) Hardcode the subsitution pattern in the Mojo 2) Add a parameter to the Mojo so that the plugin can be configured with such information. Thanks, Raymond - Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 23, 2007 9:33 AM Subject: Re: Generating Ant Re: Please nominate the bug fixes for Tuscany SCA Java 1.0.1 release Raymond Feng wrote: Hi, The plugin is a great relief. Thanks! For the binary distro, we used to have all the jars (including tuscany and 3rd party) under lib folder. Are you proposing to have tuscany jars under "modules" and 3rd party jars under "lib" now? It seems that the generated ant scripts follow that pattern. Raymond The Tuscany module JARs are already under modules in 1.0. The generated ant scripts just follow the existing pattern like: http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/calculator-webapp/build.xml -- Jean-Sebastien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Generating Ant Re: Please nominate the bug fixes for Tuscany SCA Java 1.0.1 release
Raymond Feng wrote: Hi, The plugin is a great relief. Thanks! For the binary distro, we used to have all the jars (including tuscany and 3rd party) under lib folder. Are you proposing to have tuscany jars under "modules" and 3rd party jars under "lib" now? It seems that the generated ant scripts follow that pattern. Raymond The Tuscany module JARs are already under modules in 1.0. The generated ant scripts just follow the existing pattern like: http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/calculator-webapp/build.xml -- Jean-Sebastien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Generating Ant Re: Please nominate the bug fixes for Tuscany SCA Java 1.0.1 release
Hi, The plugin is a great relief. Thanks! For the binary distro, we used to have all the jars (including tuscany and 3rd party) under lib folder. Are you proposing to have tuscany jars under "modules" and 3rd party jars under "lib" now? It seems that the generated ant scripts follow that pattern. Raymond - Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Monday, October 22, 2007 6:49 PM Subject: Generating Ant Re: Please nominate the bug fixes for Tuscany SCA Java 1.0.1 release Jean-Sebastien Delfino wrote: Raymond Feng wrote: Hi, As it was originally proposed, we'll do a SCA Java 1.0.1 release using the 1.0 branch as the base line. The 1.0.1 is intended to be a bug fix release and it should contain only non-disruptive changes. The approach we take is to pull post-1.0 commits of incremental bug fixes from the trunk and merge them into the 1.0.1 branch. Please start to nominate what fixes should be pulled into this release as soon as you can. I created a wiki page at http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Desired+bug+fixes+for+SCA+Java+1.0.1+release. I would appreciate if you can fill in your desired items there. We probably need to coordinate the merges once we have the list built by the community. Thanks, Raymond - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Replying to tuscany-user only to avoid cross posting. In past releases some of our samples Ant build.xml files had incorrect dependencies. I had proposed a Maven plugin [1] to help fix and generate them automatically. I started to work on that plugin yesterday, hoping that it will help verify (if not generate) our build.xml files this time. If there's no objections I'll put the plugin under modules/maven-ant-generator. [1] http://marc.info/?l=tuscany-dev&m=119064381620712 I changed the store tutorial pom.xml at http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/tutorial/store/pom.xml to use the plugin to generate a correct build.xml: http://people.apache.org/~jsdelfino/test/ant/build-store.xml To activate the plugin I added the following to the pom.xml: org.apache.tuscany.sca tuscany-maven-ant-generator 1.1-incubating-SNAPSHOT launch.Launch generate You can also try it with WAR modules, the generated build.xml will automatically package the module dependencies under WEB-INF/lib, like that: http://people.apache.org/~jsdelfino/test/ant/build-calculator-webapp.xml -- Jean-Sebastien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Generating Ant Re: Please nominate the bug fixes for Tuscany SCA Java 1.0.1 release
Jean-Sebastien Delfino wrote: Raymond Feng wrote: Hi, As it was originally proposed, we'll do a SCA Java 1.0.1 release using the 1.0 branch as the base line. The 1.0.1 is intended to be a bug fix release and it should contain only non-disruptive changes. The approach we take is to pull post-1.0 commits of incremental bug fixes from the trunk and merge them into the 1.0.1 branch. Please start to nominate what fixes should be pulled into this release as soon as you can. I created a wiki page at http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Desired+bug+fixes+for+SCA+Java+1.0.1+release. I would appreciate if you can fill in your desired items there. We probably need to coordinate the merges once we have the list built by the community. Thanks, Raymond - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Replying to tuscany-user only to avoid cross posting. In past releases some of our samples Ant build.xml files had incorrect dependencies. I had proposed a Maven plugin [1] to help fix and generate them automatically. I started to work on that plugin yesterday, hoping that it will help verify (if not generate) our build.xml files this time. If there's no objections I'll put the plugin under modules/maven-ant-generator. [1] http://marc.info/?l=tuscany-dev&m=119064381620712 I changed the store tutorial pom.xml at http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/tutorial/store/pom.xml to use the plugin to generate a correct build.xml: http://people.apache.org/~jsdelfino/test/ant/build-store.xml To activate the plugin I added the following to the pom.xml: org.apache.tuscany.sca tuscany-maven-ant-generator 1.1-incubating-SNAPSHOT launch.Launch generate You can also try it with WAR modules, the generated build.xml will automatically package the module dependencies under WEB-INF/lib, like that: http://people.apache.org/~jsdelfino/test/ant/build-calculator-webapp.xml -- Jean-Sebastien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please nominate the bug fixes for Tuscany SCA Java 1.0.1 release
Raymond Feng wrote: Hi, As it was originally proposed, we'll do a SCA Java 1.0.1 release using the 1.0 branch as the base line. The 1.0.1 is intended to be a bug fix release and it should contain only non-disruptive changes. The approach we take is to pull post-1.0 commits of incremental bug fixes from the trunk and merge them into the 1.0.1 branch. Please start to nominate what fixes should be pulled into this release as soon as you can. I created a wiki page at http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Desired+bug+fixes+for+SCA+Java+1.0.1+release. I would appreciate if you can fill in your desired items there. We probably need to coordinate the merges once we have the list built by the community. Thanks, Raymond - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Replying to tuscany-user only to avoid cross posting. In past releases some of our samples Ant build.xml files had incorrect dependencies. I had proposed a Maven plugin [1] to help fix and generate them automatically. I started to work on that plugin yesterday, hoping that it will help verify (if not generate) our build.xml files this time. If there's no objections I'll put the plugin under modules/maven-ant-generator. [1] http://marc.info/?l=tuscany-dev&m=119064381620712 -- Jean-Sebastien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Please nominate the bug fixes for Tuscany SCA Java 1.0.1 release
Hi, As it was originally proposed, we'll do a SCA Java 1.0.1 release using the 1.0 branch as the base line. The 1.0.1 is intended to be a bug fix release and it should contain only non-disruptive changes. The approach we take is to pull post-1.0 commits of incremental bug fixes from the trunk and merge them into the 1.0.1 branch. Please start to nominate what fixes should be pulled into this release as soon as you can. I created a wiki page at http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Desired+bug+fixes+for+SCA+Java+1.0.1+release. I would appreciate if you can fill in your desired items there. We probably need to coordinate the merges once we have the list built by the community. Thanks, Raymond - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]