Re: Build in multiple java versions using Ant

2008-10-21 Thread John5342
If i remember right only the stuff in the nbprojects folder is overriten by netbeans and should not be modified. You can on the other hand add targets and stuff so long as you dont touch the existing stuff in there. build.xml provided by netbeans provides some hints on how to add stuff and there is

Re: Zip a directory with its contents.

2008-10-17 Thread John5342
Instead of: just use: Note the double asterisk. 2008/10/17 Hendrik Maryns <[EMAIL PROTECTED]> > Hi, > > I want to zip a directory with its contents, such that when the archive > is extracted, the user gets a directory with in there the relevant files. > > Right now I do > > e

Re: what does ant really use?

2008-10-08 Thread John5342
If you changed the name of gcj and javac in /usr/bin they are not the actualy executables. They are only links to the real ones which in fedora (and probably RH) located in /usr/share/jvm//bin/. In fedora (and again probably in RH) there is an "alternatives" application which allows you to choose w

Re: How to stop ant execution if one target fails

2008-10-02 Thread John5342
If the names of the targets are indeed what they do then most of them should probably always be done in a particular order in which case make each one depend on the next similar to the following. Then if you were to run "ant jar" then build will be automatically run before jar and if build

Re: How to automate Ant deploy?

2008-09-18 Thread John5342
Dont think there is a deploy task for it (certainly not that comes with ant). I assume you mean something like installing it somewhere and then running? What you can try and do is recreate the installation instructions using ant. Probably something along the lines of: Thats only a q

Re: How to Configure batch file in Ant?

2008-09-18 Thread John5342
done using chmod ant task in this case) so the permissions probably arent set in the archive in the first place. Its also more portable to do as much as possible using ant tasks. 2008/9/18 Steve Loughran <[EMAIL PROTECTED]> > John5342 wrote: > >> Best place to start is probably

Re: How to Configure batch file in Ant?

2008-09-18 Thread John5342
I fact if you do the chmod step (Unix Binary Installation) then you dont even need bash or another cmd equivelant. You can then just run [activemq_install_dir]/bin/activemq something along the lines of: 2008/9/18 John5342 <[EMAIL PROTECTED]> > Best place to start is probably th

Re: How to Configure batch file in Ant?

2008-09-18 Thread John5342
2. ANT deploy to install ActiveMQ > 3. ANT deploy to install the Hub and the web based testing app including > the > database > 4. README and installation document > i need to know how accomplish these?please help me. > > John5342 wrote: > > > > I think your

Re: How to Configure batch file in Ant?

2008-09-18 Thread John5342
I think your getting linux and windows confused. You say you are using linux but cmd is the windows shell and .bat files are again windows batch files. That is why you get a "cmd: not found" error (because cmd doesnt exist on linux). If you want a linux equivalent to cmd and batch files read up on

Re: Custom element for jar task.

2008-09-11 Thread John5342
pe magic attribute: > > > > classpath="${build.dir}"/> > > > Peter > > On Thu, Sep 11, 2008 at 2:27 PM, John5342 <[EMAIL PROTECTED]> wrote: > > Hi, > > > >>You need to do a and not a to define the new type. > >

Re: Custom element for jar task.

2008-09-11 Thread John5342
atch the addConfigured signature. > > > Peter > > > On Thu, Sep 11, 2008 at 1:03 PM, John5342 <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Thanks for the reply. > > > >>Does it produce a classpath?? > >> > >>What do you expe

Re: Custom element for jar task.

2008-09-11 Thread John5342
ent? > > Tell us and then you will get probably some hints to do what you want. > > Then you have to write your own Ant-Task doing the stuff you want. > > -- > Jürgen Knuplesch > > -Ursprüngliche Nachricht- > Von: John5342 [mailto:[EMAIL PROTECTED] > Gesend

Custom element for jar task.

2008-09-10 Thread John5342
Hi, I have a rapidly evolving project which contains a large and varying number of service providers. I was hoping to create to create a more specialized version of the service element that automatically scans for providers in a give classpath but have run into some trouble asuming what i want to