Hi All,
I have a weird problem. I am a beginner with ant, I am trying to run a
program which contains the following code sample.
Javacode
System.setProperty(catalina.home, mTomcatHome);
System.setProperty(catalina.base, mTomcatHome);
String[] serverArgs = {-config,conf + File.separator +
Jeevan...
Think so in the classpath tag simple U have created a target. Point the
target to path where dependency jar files exists in the environment by
using the below tag.
path id=tomcat.libs
pathelement location=${jar files path}/
/path
Try after doing the same.
rgds,
anand
Hi,
I'm using the replaceRegexp ant task and I want to replace whatever matches
my pattern with 2 line breaks.
Right now I'm doing this:
replaceregexp
match=(?lt;=lt;\/methodgt;)\s*(?=^[\t ]*lt;method)
replace=\n\n
flags=gmi
encoding=UTF-8
Hi Gilbert,
Thanks for the help. I'll look into the Ant Manual and try it
out. Thanks again.
Regards,
Maninder Singh
-Original Message-
From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 4:45 PM
To: Ant Users List
Subject: RE: How to execute and
Hi Alex,
I didn't test it, but you could try
replace=${line.separator}${line.separator}
Stefano Marsili
http://www.efanomars.net/pf
--- Alex Egg [EMAIL PROTECTED] wrote:
Hi,
I'm using the replaceRegexp ant task and I want to
replace whatever matches
my pattern with 2 line breaks.
Hi Anand,
I had done that before. So, including more info for better clarity.
Here is the Exception:
SEVERE: Error loading WebappClassLoader
[java] delegate: false
[java] repositories:
[java] -- Parent Classloader:
[java] [EMAIL PROTECTED]
[java]
I think that should work. Basically, I think the problem is that the
XML attribute is being taken literally so \n is literally a backslash and n
Stefano Marsili wrote:
Hi Alex,
I didn't test it, but you could try
replace=${line.separator}${line.separator}
Stefano Marsili
If you are to omit $TOMCAT_HOME and basedir qualifiers
I believe the jar specification has to be Fully Qualified Path (instead of
using the relative path) e.g.
property name=catalina.jar
value=/usr/opt/TOMCAT/apache-tomcat-5.5.17/server/lib/catalina.jar/
Martin --
I know that Ant needs a JDK. But can we start CC setting JAVA_HOME=1.5 and
ANT_HOME=some-ant-version and then during the build change JAVA_HOME=1.4
Thanks,
-Jed
On 7/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Yes. Ant itself needs a JDK = 1.2 - but only one per run ;-)
(Personally I
You effectively can do this by forking off a separate Java/Ant process
that uses 1.4 instead of 1.5. Cheers, Tony.
On Mon, 17 Jul 2006 15:02:03 +0100, 1800 tbsfunny [EMAIL PROTECTED]
wrote:
I know that Ant needs a JDK. But can we start CC setting JAVA_HOME=1.5
and
The error indicates an authentication failure. This can happen for a few
common reasons.
1. If your password has special characters and you are putting the
actual password in your build.xml you may get this error. To fix the
problem, put the password in a properties file and use a property in
Thanks Bob!
Anderson, Rob (Global Trade) [EMAIL PROTECTED] wrote:
The error indicates an authentication failure. This can happen for a few
common reasons.
1. If your password has special characters and you are putting the
actual password in your build.xml you may get this error. To fix
Is there any way I can make a target run for a definite number of times..
Like a for or at least a while loop? To be more explicit I want a
property's value tokenized in order to use the token as target parameters..
Thanks.
--
View this message in context:
Ant contrib has a nice for loop that uses a delimiter attribute...
danielpaval wrote:
Is there any way I can make a target run for a definite number of times..
Like a for or at least a while loop? To be more explicit I want a
property's value tokenized in order to use the token as target
I am using the following ant section to generate the manifest file so that I
can run the program
by using the generated jar file.
target name=compress description=Compression target
depends=compile
jar destfile=${output}/MyClient.jar basedir=${output}
--- Bala Paranj [EMAIL PROTECTED] wrote:
I am using the following ant section to generate the
manifest file so that I can run the program
by using the generated jar file.
target name=compress description=Compression
target depends=compile
jar
On Monday July 17, 2006 17:06, Bala Paranj [EMAIL PROTECTED] wrote:
I am using the following ant section to generate the manifest file
so that I can run the program by using the generated jar file.
target name=compress description=Compression target
depends=compile
jar
What is ant contrib? Some kind of tag library? I'd prefer to use the common
ant tags, yet still solve the problem..
--
View this message in context:
http://www.nabble.com/Loops-tf1956629.html#a5369035
Sent from the Ant - Users forum at Nabble.com.
ant contrib is a separate project for ant... Here is the URL:
http://ant-contrib.sourceforge.net/
There was a time I was fairly adamant about not using anything but stock
ant. However, there are some -really- useful tasks include in ant
contrib - so I conceded and use it too...
Ant is a declarative language, not a procedural language. As such you can
not have a loop. You may be able to reform your Ant file into the
declarative style and avoid the loop. It takes looking at the problem with a
different mind set. The various books on Ant as well as the manual will give
some
I've got a simple ant file that I'm running from CruiseControl. Basically,
it has these elements in it:
project name=needHelp default=runTests basedir=checkout/projedt
property name=shutdown value=true/
target name=startAS
exec
dir=C:/oc4j/j2ee/home
Can you send the entire output of the build please.
-Rob A
-Original Message-
From: Arminio Andrei [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 12:39 PM
To: Ant Users List
Subject: RE: SCP Auth Faild
Thanks Bob!
Anderson, Rob (Global Trade) [EMAIL PROTECTED] wrote:
I deal with similar problems by creating an external shell script that
first runs normal targets, remembers return code, then runs post
targets, and returns the remembered return code.
- Alexey.
[EMAIL PROTECTED] wrote:
I've got a simple ant file that I'm running from CruiseControl.
Also, if you're using ssh keys, make sure you use the proper permissions
on those directories containing the keys. Giving too much permission
(e.g., 0777) can cause automated login to fail.
-rich
-Original Message-
From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED]
Sent:
I've been trying to figure out why building jBPM has been failing with
version 1.6.5. It builds with 1.6.2.
The difference seems to be in the way that classpath is processed for a
taskdef. The details can be found at
http://www.jboss.com/index.html?module=bb
25 matches
Mail list logo