On Tue, 2004-03-02 at 06:34, Craig Berry wrote: > I am facing exactly the same problem, and have been trying to find > solutions using xdoclet or ant tasks. I found a way to do it using > ant, but it's ugly and brittle. I'm very surprised that there isn't > more information available on this topic. How are other people > building ejb jar manifests for EARs which include non-ejb jars which > must appear in the ejb jar's manifest classpath?
I just use Ant's <manifest> task, then specify the file which that generated in the appropriate attribute of the jar/war/ear task. Admittedly, I'm not producing the Class-Path: value automatically from the path I've defined for javac to use, but then again I don't use it when I'm copying the jars into my ear either. Perhaps someone (Erik?) knows a way to do it? There's not so many that it's particularly hard to maintain, though. Andrew. > -----Original Message----- > From: [EMAIL PROTECTED] on behalf > of Andrea Chiumenti > Sent: Mon 3/1/2004 10:46 PM > To: [EMAIL PROTECTED] > Cc: > Subject: [Xdoclet-user] Generating Class-Path in Manifest.mf > > > > Hello, i was reading xdoclet in action, nice book! but > currently i need > to compile a Class-Path: element in an ear Manifest.mf. > Since currently i cannot figure out how this would be possible > with > Xdoclet, i was wondering if XD is the right tool to do this > task and if > yes, how could i do. > Thx in advance, > kiuma > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
