classpath changes from 1.6.2 to 1.6.5

2006-07-17 Thread John Liptak
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

RE: SCP Auth Faild

2006-07-17 Thread Rich
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:

Re: force execution of a target???

2006-07-17 Thread Alexey N. Solofnenko
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. Basical

RE: SCP Auth Faild

2006-07-17 Thread Anderson, Rob (Global Trade)
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 PROTEC

force execution of a target???

2006-07-17 Thread Bryan . S . Queen
I've got a simple ant file that I'm running from CruiseControl. Basically, it has these elements in it: All of my tests are in regressionTest_build.xml under the testManager target So the issue is this: I need to force the "shutdownAS" target to r

RE: Loops

2006-07-17 Thread bill/wilandra
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

Re: Loops

2006-07-17 Thread Scot P. Floess
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... Otherwise,

Re: Loops

2006-07-17 Thread danielpaval
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. --

Re: Manifest doesn't support the "file" attribute

2006-07-17 Thread Robert Clark
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. > >depends="compile"> > > > > >

Re: Manifest doesn't support the "file" attribute

2006-07-17 Thread Matt Benson
--- 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. > > > >basedir="${output}"> > > >

Manifest doesn't support the "file" attribute

2006-07-17 Thread Bala Paranj
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.

Re: Loops

2006-07-17 Thread Scot P. Floess
Ant contrib has a nice 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 para

Loops

2006-07-17 Thread danielpaval
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: http://www.nabble.com/Loops-tf19566

RE: SCP Auth Faild

2006-07-17 Thread Arminio Andrei
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

RE: SCP Auth Faild

2006-07-17 Thread Anderson, Rob (Global Trade)
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 you

Re: JAVA_HOME to be changed dynamically

2006-07-17 Thread Anthony B. Coates
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 ANT_HOME= and then du

Re: JAVA_HOME to be changed dynamically

2006-07-17 Thread 1800 tbsfunny
I know that Ant needs a JDK. But can we start CC setting JAVA_HOME=1.5 and ANT_HOME= 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 havent tested on

Re: ClassNotFoundException when appropriate jat in classpath

2006-07-17 Thread Martin Gainty
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. Martin -- * This email message and any files transmitted with it co

Re: ReplaceRegExp Task and line breaks

2006-07-17 Thread Scot P. Floess
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 http://www.efan

Re: ClassNotFoundException when appropriate jat in classpath

2006-07-17 Thread Jeevan
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] org.apache.jasp

Re: ReplaceRegExp Task and line breaks

2006-07-17 Thread Stefano Marsili
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 brea

RE: How to execute and assign the output of a command to a property on runtime.

2006-07-17 Thread Maninder Singh \(GR/EIL\)
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 assign

ReplaceRegExp Task and line breaks

2006-07-17 Thread Alex Egg
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: however, it replace the file with the \n\n as literal text. How can I replace these w/ 2 line breaks?

Re: ClassNotFoundException when appropriate jat in classpath

2006-07-17 Thread anandsrider . d
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. Try after doing the same. rgds, anand