I have done that. But my results are not what i expect. Here is my
script.
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
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
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
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
(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
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
You can also the reg command.
reg /? for commandline info.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
>> 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
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
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
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
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
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
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
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
16 matches
Mail list logo