  | | | Ant | Hi Adrian
<property environment "env "/ >
[...] ${env.CATALINA_HOME} [...]
should work.
see http //ant.apache.org/manual/CoreTasks/property.html
Greetings
Chris
> -----Urspr�ngG 'day folks
Is it possible to get the value of an environment variable and have it
stored as a property? For example I 'd like to grab the value of
Catalina_Home which is defined as a system eHi all
I am writing a custom task which needs to get the list of included files
for each directory but not any subdirectory and files inside it. First I
have to get all included directories wHi Ant Users/Gurus
I would like to use the Ant task "jspc " that
converts jsp code into java.
The default compiler is Tomcat 's "jasper "
but I need to use Sun/Iplanet 's "jspc " compiler.
DoIs there any way to specify the classpath to use for the optional jars
inside the build.xml? I.e. I want to specify the location of say
antlr.jar (or netcomponents.jar) in the build.xml rather thPatch forthcoming that should allow him to have his
cake and eat it too... see
http //issues.apache.org/bugzilla/show_bug.cgi?id 26364
-Matt
--- Jacob Kjome <hoju@(protected) > wrote
>
> If yo??���{�b?ᢗ���+��^?�Z?(��?�j??�ȧq�������v+b�v���k�x??)�����ڳ�?~??k�h����(��ڝ��?���a{?+?�j_�j?���j�k����ߕ�bn)b?/???z���?��جj�h�{^w? "?�??��ar��z?�֬�?�? "��?��?��?? Rudolf Nottrott wrote
> Thanks Antoine for the suggestion but it doesn 't seem to make a
> difference.
>
> Basically I need to make sure that the command
>
> 'java org.hsqldb.Server -databa
If you didn 't want your paths expanded why did you use the "location "
attribute in your <pathelement > 's??? If you use "value " then the paths
won 't be expanded. The path expansion is happeninHello
I 'm having difficulty using macrodef in Ant 1.6. It seems to support only one attribute and I need two or more. Here is an example of my macrodef
I 'm experimenting with migration to Ant 1.6.
It seems that the ant.bat wrapper has changed. Now it only works
if I set CLASSPATH in the invoking environment. Can anyone help?
What happened toThanks Antoine for the suggestion but it doesn 't seem to make a difference.
Basically I need to make sure that the command
'java org.hsqldb.Server -database testxyz '
which is run by the ant With sshexec can we run multiple commands wih one target and one connection? for example
<sshexec host "xxxxxx "
username "xxxx "
password "xxxx "
command "command1 "/ >
I have an issue where I run <javac > over a .java file with an inner
class and the inner class is not generated. My build process involves a
lot of Java comppiles and I 'm not sure exactly where thiIs there any ant task to get the list of filename from the directory?
This will help me in creating the classpath entries in manifest file.
Appreciate your help.
Thanks
sv.
(Sorry I trashed that email too fast... Here 's one possible solution)
<subant > has a 'failonerror ' attribute that allow you to go on if one of the
sub-builds called fails. --DD
I am attempting to write a set of tasks for ant. I am using ant 1.6 against
either the sun jdk 1.4.2 or the ibm jdk 1.3.1. In either case the results
are the same.
In my TaskContainer I have aHi
I have a weird problem with ant (1.5.4 and 1.6.0). I am trying to create
a quite simple JAR-file with the follwing target
<target name "create-war " >
<property name "war-base value "${loAll
I am trying to avoid build stopping by using "-k " on top of the original ant
command "ant -DBUILDNUMBER 123 targetA " but it does not work?
Why? What should be the correct syntax?
ThankHas anyone experienced this issue with rexec where it hangs with Ant 1.6?
I have a very simple build.xml to test rexec. The rexec tasks looks like
this
<rexec userid "myuid " password
Hi all Ant-users
I want two paths like -
<path id "a " >
<pathelement .........../ >
<pathelement .........../ >
...
</path >
- and -
<path id "b " >
...
</path >
- both Has anyone succeeded in getting ANT to work with Starteam 1.54?
I have included the starteam54.jar file in my path although the bulid fails with
the error message BUILD FAILED java.lang.ExceptiI am running a javac task against a 1.2.2 compiler but it is running out of memory. The javac task documentation says that there is a attribute for setting the Max memory size (memoryMaximumSize) bI would like to delete all the CVS directories in the build tree.
Here is my target
<target name "cleanupcvs " >
<delete defaultexcludes "false " >
<fileset dir ". " >
<include name Hi
Before I go diving into code (of the ant task -/)
Has anyone an idea to what is causing
axis-java2wsdl to throw a ZipException ?
"java.util.zip.ZipException error in opening zip file "
(Has anyone experienced this issue with rexec where it hangs?
I have a very simple build.xml to test rexec. The rexec tasks looks like
this
<rexec userid "myuid " password "mypass " servCan anyone tell me what I need to do to run ant 1.6.0 with a CLASSPATH
set.
Current if I try to do so the following exception occurs
java.lang.InstantiationException org.apache.tooOk I have been using ant for quite some time now but I seem to have run across something I do not understand.
I have a beanshell script inside of a target. It contains the following lines of codeHi
I have begun looking at using ANT on our build system. As I was
testing the vssget task I noticed it got all of the source every time. Is
there a way to pass in parameters (ie -GCC)Hello
I am trying to figure out how to get the javac task to work but I am
having a problem with one option.
I am trying
<javac
fork "yes "
executable "/usr/j2sdk1.5.0/bin/javac " |
|
 |