[
https://issues.apache.org/jira/browse/TUSCANY-3684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914138#action_12914138
]
Simon Nash commented on TUSCANY-3684:
-------------------------------------
The build.xml file is generated using the tuscany-maven-ant-generator plugin.
Currently this plugin doesn't support compiling test source, creating multiple
jar files, or generating multiple run targets.
The solution is either to create a hand-crafted build.xml file or to enhance
the tuscany-maven-ant-generator plugin to add the necessary capabilities. It
turns out that the latter is quite straightforward and could have wider
applicability, so I have written some code to do this.
With these changes, the tuscany-maven-ant-generator plugin supports the
following additional tags within the plugin <configuration> section of the
pom.xml file:
<testSource>true</testSource> -- generate code in build.xml to compile test
source and copy test resources
<jarFiles> -- list of additional jar files to be created by build.xml
<jarFile>
<destfile>{path-and-name-of-jar-file-to-be-created}</destfile>
<filesets>
<fileset>{ant-fileset-to-be used-to-create-the-jar}</fileset>
....
</filesets>
</jarFile>
....
</jarFiles>
<runTargets> -- list of additional run targets to be generated in build.,xml
<{target-name}>{name-of-class-to-run}</{target-name}>
....
</runTargets>
> build.xml file in samples/domain-management doesn't work
> --------------------------------------------------------
>
> Key: TUSCANY-3684
> URL: https://issues.apache.org/jira/browse/TUSCANY-3684
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Samples
> Affects Versions: Java-SCA-1.6
> Reporter: Simon Nash
> Assignee: Simon Nash
> Fix For: Java-SCA-1.6.1
>
>
> The build.xml file for the domain-management sample isn't able to build or
> run the sample. The problems are as follows:
> 1. It doesn't compile the test code in src/test.
> 2. It doesn't build all the jar files needed for this sample. It builds
> sample-domain-management.jar but it doesn't build
> sample-domain-management-assets.jar, sample-domain-management-client.jar or
> sample-domain-management-store.jar.
> 3. It doesn't have "run" targets for running the four sample scenarios.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.