Re: problems creating a jar

2008-02-20 Thread Steve Loughran
Dimitris Mouchritsas wrote: Steve Loughran wrote: Steve, creating a tmp dir to create a complicated structure inside a jar file is the recommended approach? Is there a better way to do it? If the tmp dir is the way to go I suppose it's best not to delete this dir, except on a "clean" buil

Re: problems creating a jar

2008-02-20 Thread Dimitris Mouchritsas
Steve Loughran wrote: Luca Ferrari wrote: On Wednesday 20 February 2008 Dimitris Mouchritsas's cat, walking on the keyboard, wrote: So for example you create: /dist tmp/ classes/ img/ lib/ and then you etc. But in this case into the jar I will have also the classes dire

Re: problems creating a jar

2008-02-20 Thread Steve Loughran
Luca Ferrari wrote: On Wednesday 20 February 2008 Dimitris Mouchritsas's cat, walking on the keyboard, wrote: So for example you create: /dist tmp/ classes/ img/ lib/ and then you etc. But in this case into the jar I will have also the classes directory, while it should

Re: problems creating a jar

2008-02-20 Thread Luca Ferrari
On Wednesday 20 February 2008 Dimitris Mouchritsas's cat, walking on the keyboard, wrote: > So for example you create: > /dist >tmp/ > classes/ > img/ > lib/ > > and then you basedir="${dist.dir}/tmp/"> etc. But in this case into the jar I will have also the classes directo

Re: problems creating a jar

2008-02-20 Thread Dimitris Mouchritsas
Luca Ferrari wrote: Hi guys, I've got a problem creating a buildfile for a project of mine, where I'd like also to build a jar as final step. This is source tree: projectRoot +src // java sources +srcTest // junit sources +img // ico

problems creating a jar

2008-02-20 Thread Luca Ferrari
Hi guys, I've got a problem creating a buildfile for a project of mine, where I'd like also to build a jar as final step. This is source tree: projectRoot +src // java sources +srcTest // junit sources +img // icons +lib