Re: params for Ant, and jdk
Eric Minick <[email protected]> Thu, 26 Oct 2006 07:43:11 -0600
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
Hi Alex, Unfortunately these flags are not going to help you switch the JAVA_HOME on the fly. They pass flags into the Ant command but are not going to set the appropriate environment variable prior to running the command. I think you're still left either running two instances or moving up to the pro version. Although if anyone has tweaked the application to allow for this flexibility, maybe they'll share how. Thanks, Eric Alexandre Barret wrote: > Hi users, > > In Anthill OS, when we specify all the informations in Properties for > one project, there is the possibility to passed some parameters to > Ant. For example there is "anthill.publish .ant.params" and > "anthill.java.extra.options". My question is : does someone already > used this tools and is it possible to pass something here, to modify > the script ant, in the aim to for instance set the java_home different > only for one project. I have most of project in jdk1.5 and only one in > jdk1.3. I know i can launch another application renaming my war file, > but it seems for me better if I use only one Anthill. > > What do you think, is possible and how? > thanks a lot and regards > alex > > -- > > >------------------------------------------------------------------------ > >_______________________________________________ >Anthill mailing list >Anthill-IWHQxnLZ/[email protected] >http://lists.urbancode.com/mailman/listinfo/anthill > >