RE: Magic - packaging jars for distribution

"Stephen McConnell" <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <003f01c48525$81888af0$1601a8c0@gloria>
> -----Original Message-----
> From: Cameron Taggart [mailto:[email protected]]
> Sent: 18 August 2004 08:33
> To: Avalon framework users
> Subject: Magic - packaging jars for distribution
> 
> I'm trying to prepare the xsd2jibx 0.2 alpha release and I'm wondering
> what the best approach would be for distributing the jars.  I would
like
> to package both the transitive runtime dependencies and buildtime
> dependencies.  It would be nice to have an <x:fileset/> similar to
> <x:path/>.  

Here is an example of doing what I think you describing:

    <x:path id="build.path"/>
    <x:replicate refid="build.path" todir="target/system"/>

The <x:replicate> task copies repository resource declared in the
supplied path refid to the supplied toDir.

Cheers, Steve.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.