This content has been marked as final.
Show 7 replies
-
1. Re: Seam examples tests
pmuir Dec 8, 2007 9:29 PM (in response to alesj)"alesj" wrote:
Should we make this pulling from repo optional?
Or at least there must be a check if the artifact changed.
Since the example artifacts are ~ 4M big.
Probably, you should compare the checksums that maven generates for the ear (md5 and sha1) between each download.
Also, as Seam version changes, the path to the artifact changes e.g. from 2.0.1-SNAPSHOT to 2.0.2-SNAPSHOT. The maven-metadata.xml file will tell you the current version.Scott or Pete, can you help with this seam.xml?
<!-- TODO copy from repository to ${build.lib} -->
<!-- include the example + -ds.xml file -->
<!-- remove version string tag -->
<!-- make copying optional or/and check for artifact modifications -->
By far the easiest way is to use maven ant tasks as it will do all of the above in about 6 lines of ant. But I don't know if this is an acceptable dependency for JBoss AS testsuite. Otherwise we have to write some horrible ant stuff.
I now have some decent ant in seam (hudson) builds to deploy example snapshots to maven, so if you want more than booking, numberguess, dvdstore then tell me and I can add them. -
2. Re: Seam examples tests
starksm64 Dec 9, 2007 4:11 AM (in response to alesj)"pete.muir@jboss.org" wrote:
By far the easiest way is to use maven ant tasks as it will do all of the above in about 6 lines of ant. But I don't know if this is an acceptable dependency for JBoss AS testsuite. Otherwise we have to write some horrible ant stuff.
Paul has been working on getting jbossas to build using maven, so its not a problem to start introducing maven dependencies. -
3. Re: Seam examples tests
wolfc Dec 12, 2007 7:18 AM (in response to alesj)And thus we'll have a circular dependency when Seam goes into EAP. Because currently EAP == AS instead of icing on top.
-
-
5. Re: Seam examples tests
alesj Dec 13, 2007 5:33 AM (in response to alesj)Pete has all things ready - seam.xml and Seam repo with example artifacts.
But he's still at Javapolis, with world's slowest internet, so he has problems commiting things.
And I know Carlo has some patch working for fixing those CL problems. -
6. Re: Seam examples tests
pmuir Dec 14, 2007 9:01 AM (in response to alesj)Ok, I have comitted seam.xml - sorry for the delay :(
Currently it loads the seam numberguess, booking and dvdstore examples from Seam 2.0.1.CR1. -
7. Re: Seam examples tests
pmuir Dec 14, 2007 9:03 AM (in response to alesj)"wolfc" wrote:
And thus we'll have a circular dependency when Seam goes into EAP. Because currently EAP == AS instead of icing on top.
I don't quite see how? This is just some ear artifacts that are downloaded and deployed by the testsuite. Seam isn't embedded into EAP or AS5, just provided as a user library.