Re: Can I edit web.xml from an ANT script

2010-03-18 Thread Rob Tanner
Brian, Thanks. I'm having some newbie issues using it but I also found that there's an xmltask-users email list, so I've posted my problem there. Again, thanks. -- Rob On 3/18/10 1:13 PM, "Brian Agnew" wrote: > XMLTask is what you want. It was specifically designed for such things. > > ht

Re: Can I edit web.xml from an ANT script

2010-03-18 Thread reno
Or you can try this: http://ant.apache.org/manual/CoreTasks/replace.html (@Brian: i will have a look to XMl Task this week ;-) ) S. XMLTask is what you want. It was specifically designed for such things. http://www.oopsconsultancy.com/software/xmltask Brian On 18/03/2010 18:52, Rob Tanner wr

Re: Can I edit web.xml from an ANT script

2010-03-18 Thread Brian Agnew
XMLTask is what you want. It was specifically designed for such things. http://www.oopsconsultancy.com/software/xmltask Brian On 18/03/2010 18:52, Rob Tanner wrote: Hi, I¹m starting to build applications using the Google Web Toolkit (GWT) in Eclipse. When moved to the production server, web.

Can I edit web.xml from an ANT script

2010-03-18 Thread Rob Tanner
Hi, I¹m starting to build applications using the Google Web Toolkit (GWT) in Eclipse. When moved to the production server, web.xml needs to have a security-constraint so as to require SSL, but in development, GWT¹s hosted mode doesn¹t understand the security-constraint. The GWT compile does not

Re: AW: AW: Ant Environment

2010-03-18 Thread Antoine Levy Lambert
Hello Philip, Ant does not have the power to change the environment variables which were assigned by the starting shell. Perl can do that I think. Environment variables do not matter much to ant itself, my guess is that you want to run several commands from ant which require special env vari

Non-transitive dependency

2010-03-18 Thread Maurer Philipp
Hello everyone, I'd like to do the following (don't ask why :-)): (-> = "depends on", v = version, + = or higher) Module Master v1 -> C v1, B v1, D v1+ Module B v1 -> nothing Module C v1 -> B v2, Dv2 Module D v2 -> nothing When I try to build module Master, Ivy won't resolve becaus

AW: AW: Ant Environment

2010-03-18 Thread Maurer Philipp
Thanks, Sure, I could use setx, but this changes the environment variable on my maschine i.e. in every new shell I open, but not the current one. I guess that is not even possible using a normal e.g. C++ program. Philipp -Ursprüngliche Nachricht- Von: Antoine Levy Lambert [mailto:anto.

Re: AW: Ant Environment

2010-03-18 Thread Antoine Levy Lambert
Agreed with Jan. If you want to modify permanently the environment variables of Windows machines, one of the tools you can use is VBS. I think you will find articles about which API calls to use to do this in VBS. Ant can kick off a VBS script if you do Regards, Antoine jan.mate..

AW: Ant Environment

2010-03-18 Thread Jan.Materne
You are right: you cannot change the values from Ant. You could use the "setx" system command, so NEW processes will get the new values. I dont know any possibility to change the environment for RUNNING processes. Maybe via PowerShell, WindowsManagementInstrumentation, ... a la for(Projess p :

Ant Environment

2010-03-18 Thread Maurer Philipp
Hello, I'd like to make ant modify my current shell environment on Windows maschines. Example: I'd like something like an 'ant set' (target 'set') that sets some 'foo=bar'. Calling that target should have the same effect than calling 'set foo=bar'. I tried some stuff: calling python sc