  | | | Ant | Hi all
Can I append classpath variable through multiple targets? Please check the
following codes...
<target name "classpath-general " >
<echo message "classpath-general in here! "/ >
I am running ant 1.6 beta 3 on windows xp pro with sp1.
I get this error when I run 'ant -version '
java.lang.InstantiationException org.apache.tools.ant.Main
at java.lang.Class.newInstAll
1. How can I select multiple classpath? I would like to be able NOT to define
CATALINA_HOME for tomcat if not compiling things for tomcat and just use
J2EE...
2. Can I define the follAll
In one single build.xml how can I select different set of classpaths? for
Tomcat and for other apps?
I try to do the followings
<target name "tomcat " if "system.CATALINA_HOME " >
I have two different properties files which I use when I build on windows
and unix machines.
How do I tell ant to use the appropriate file depending on the os.name?
Any help is appreciated.
Hi
Can anyone suggest ways of running an Ant target from a webpage ideally
being able to send data back as part of an HTML page as well (perhaps using
the echo task)?
Cheers
Dave.
--
All
I am trying to do this
<property name "javaBase " value "${system.JAVA_HOME} "/ >
<target name "barry " if "javaBase " >
<echo message "TEST JAVA_HOME is ${javaBase}. "/ >
</targHi
we wrote our own xsl stylesheet for parsing ant log infos. With the
message priorities (debug info warn error) we want to decide whether
our build run is complete failed etc. We use antOn Sat 13 Dec 2003 Dirk Weigenand <Dirk.Weigenand@(protected) >
wrote
> Use 1.4 JRE/JDK and the error will go away.
Alternatively recompile the tasks using JDK 1.3.
Stefan
------------All
How can I validate environment valuables in ant build.xml? For example how
can i make the following condition?
If $JAVA_HOME exists then assign property name XXX to value of $JAVA_HOME?
Hi
Nagarajan Murugesan <NMURUGESAN@(protected) > writes
> Hi All
>
> I am having a problem with Antelope task.
>
<snip/ >
>
> while running the script error given as
>
> sqlrun I must have the wrong idea about the description attr. - I had a task
<target name "init " depends "common-init "
description "sets up appserver properties & classpath " >
and I want to c
Hi All
I have a question on ANT properties.
Is there any task/way in which we can replace a particular
pattern (string) in a property value.
For Example
I defined a property name "mHi All
I am having a problem with Antelope task.
This is my ant script
<project name "Installation " default "sqlrun " >
<target name "sqlrun " >
<taskdef name "var " classname "ise.antelo
Is there a DTD for the build.xml? I need it to verify and do nice
indentation in Emacs.
Thanks for advance.
--
It 's not the valleys in life I dread so much as the dips.
-- Garfield
Hi all
I had all this working under redhat and windows but I just moved to gentoo
and I cannot get this to work anymore.
I have the same build file that does an ftp task... It used to work ANNOUNCEMENT
Version 0.3 final of JWare/AntXtras is now available.
The User Guide is final in this release.
Download from
http //www.antxtras.info/download.html.
Release notes at
Is there a way to disable a target at runtime based on certain value from a property
For example If I have - target 1 target 2 target 3 all of the are available when I run ant on HostA whereHi all
I was wondering if there 's a way to capture which files have been recently compiled (and by recently I mean the last compilation). I want to capture them in order to upload (ftp) the claHow do I find out the name of the current target that is being executed?
Example
<target name "build " >
<echo > I am in ${xxxxx} </echo >
</target >
Thanks
--DP
Hello
I am trying to precompile JSP pages which
contain struts taglibs.
I get the following error
[jasperc] error org.apache.jasper.JasperException Error compiling
/AddItem.jsp
[jaspHey all
I 've written a new Task for my local Ant builds and want to generate the
Help files like you see in the Ant manual. From what I 've read the stuff in
proposal/xdocs is setup to do this fHi All
Is there any ANT task for simple arithmetic operations like
addtion substraction...and so.
Thanks
Nagarajan
Hi All
What is the scope of the property value in a build file.
I want to change the property value in between the build process.
For Example
project name "Installation " default "run " >
Hello
i 've to tranform html files into xml files
does anybody know how i could use jtidy with ant to do this?
thanks for your answers
I 'm attempting to reverse this process and replace a character with a new line.
<replaceregexp file "./testfile.txt " match " " replace "\r\n " flags "g " / >
Does not give me the desired result. InI am using ant 1.5 and using the telnet task to issue commands on several
remote boxes. The only trouble is one of the boxes I have to issue commands
on is win2000. The current telnet server on thAnt 1.6 is going to be released shortly.
One issue is that people have reported that
in some cases ant 1.6 is slower that ant 1.5.
Using antcall and import.
Also in some cases more memory is u
You can use the "domatch " tasks from
the http //www.antxtras.info/ package.
For instance
<do the tasks that set "theproperty ".../ >
<domatch haltifnomatch "yes|no " property "
Hi Nagarajan
<replaceregexp file "C /runant.txt " match "\r\n " replace " " flags "g " / >
Will be better
Cheers
Antoine
-----Urspr�ngliche Nachricht-----
Von Nagarajan Murugesan [mailto  |
|
 |