Re: build.properties input select

2006-10-13 Thread Edward Mann
I have done that. But my results are not what i expect. Here is my script.

Re: build.properties input select

2006-10-13 Thread Sean \(Xuong\) Phu
There is an task that you can use to prompt the user. See http://ant.apache.org/manual/CoreTasks/input.html. As for concatenating user input with ".home", you can do Edward Mann <[EMAIL PROTECTED]> wrote: I am trying to build an and build process where the user will run ant and it will p

build.properties input select

2006-10-13 Thread Edward Mann
I am trying to build an and build process where the user will run ant and it will prompt them for the project. The projects are held in the build.properties file. They look like this. project1.home=/my/project/dev1 project2.home=/my/project/dev2 There are other things in the file but this is all

Re: Ant and the Windows Registry

2006-10-13 Thread Dominique Devienne
Now, one thing to think about is that although the Java preferences API is limited to part of the registry, and it messes up strings you put down, there must be, underneath, the binding between Java and and the registry. If the raw API calls are exposed in Java, you could work out what the existin

Re: Ant and the Windows Registry

2006-10-13 Thread Steve Loughran
Peter Reilly wrote: On 10/13/06, Robert Pepersack <[EMAIL PROTECTED]> wrote: Hi all, I would like to read and alter a Windows registry key with Ant. You may ask why would I want to change the Windows registry??!! I want to change the registry because I want to change my J2EE server's (Sybase

Re: Ant and the Windows Registry

2006-10-13 Thread Dominique Devienne
(why oh why did sun not support jdirect?) Unless jdirect only allowed use of primitives (and String and 1D arrays of primitives, which would be copied) as args to the methods called, my guess would be because of reference tracking issues. Also, how could you have the Java code listening on even

Re: Ant and the Windows Registry

2006-10-13 Thread Peter Reilly
On 10/13/06, Robert Pepersack <[EMAIL PROTECTED]> wrote: Hi all, I would like to read and alter a Windows registry key with Ant. You may ask why would I want to change the Windows registry??!! I want to change the registry because I want to change my J2EE server's (Sybase EAServer) classpath f

Re: Ant and the Windows Registry

2006-10-13 Thread Michael Giroux
You can also the reg command. reg /? for commandline info. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: Running build file which runs toolspecifc ant tasks

2006-10-13 Thread Jan.Materne
>> Hi Every body, >> I have written simple a build.xml file to run in Websphere >Site Developer.It is as follows. >> >> >> >> >> >> >> >> > port="8080" webapp="/smf"/> >> >> >> >> >> >> >> >> it gives me following Error. I know it clealy say what to >do. But I have the jar files(smf

Re: Ant and the Windows Registry

2006-10-13 Thread Steve Loughran
Robert Pepersack wrote: Hi all, I would like to read and alter a Windows registry key with Ant. You may ask why would I want to change the Windows registry??!! I want to change the registry because I want to change my J2EE server's (Sybase EAServer) classpath from Ant. My fellow developers an

AW: Ant and the Windows Registry

2006-10-13 Thread Jan.Materne
AFAIK the PreferencesAPI works only on a part of the Windows Registry, but I havent tried. I dont know the Orangavolt Ant Tasks, but using tasks is the way I would prefer ... Another way would be creating a reg-file and executing regedit for importing that. Jan >-Ursprüngliche Nachricht

Re: Running build file which runs toolspecifc ant tasks

2006-10-13 Thread Steve Loughran
tharanga wijethilake wrote: Hi Every body, I have written simple a build.xml file to run in Websphere Site Developer.It is as follows. it gives me following Error. I know it clealy say what to do. But I have the jar files(smfbdTasks.jar, bde.jar) in my class path. Is there any

Ant and the Windows Registry

2006-10-13 Thread Robert Pepersack
Hi all, I would like to read and alter a Windows registry key with Ant. You may ask why would I want to change the Windows registry??!! I want to change the registry because I want to change my J2EE server's (Sybase EAServer) classpath from Ant. My fellow developers and I could change our serve

Running build file which runs toolspecifc ant tasks

2006-10-13 Thread tharanga wijethilake
Hi Every body, I have written simple a build.xml file to run in Websphere Site Developer.It is as follows. it gives me following Error. I know it clealy say what to do. But I have the jar files(smfbdTasks.jar, bde.jar) in my class path. Is there any thing wrong in my build.xml fi

Re: Documentation for Java2WSDLTask

2006-10-13 Thread Steve Loughran
Martin Gainty wrote: good answer! Send me your build.xml and I'll try it here.. Also.. Im cc'ing Ant users list as this is the list which handles ANT build.xml issues maybe, but is an apache axis task, so its out of scope here. I havent looked at for years, but from what I recall, iIt is ju

Re: Getting output from a custom ant task

2006-10-13 Thread Peter Reilly
On 10/13/06, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: Hello Hunter, such tasks usually have an attribute to choose the property name that you want to set. getProject().setProperty(name, value) should do. getProject().setNewProperty(name, value) - otherwise the write once property semant