Re: Testing if Tomcat is running

2009-05-28 Thread alsen
Analyze timeoutproperty. Roman Sokolyuk-2 wrote: > > Hi, > Ant: 1.7.1 > OS: Mac OS X Leopard > Java: 1.5.0_16 > Tomcat: 6 > > I am using the following ant tasks to stop my Tomcat: > > > > > > > > > > > > > > but when it is executed and Tomcat is already down it obviously thro

AW: Testing if Tomcat is running

2009-05-28 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Roman Sokolyuk [mailto:romsok.t...@gmail.com] >Gesendet: Freitag, 29. Mai 2009 04:31 >An: user@ant.apache.org >Betreff: Testing if Tomcat is running > >Hi, >Ant: 1.7.1 >OS: Mac OS X Leopard >Java: 1.5.0_16 >Tomcat: 6 > >I am using the following ant

Testing if Tomcat is running

2009-05-28 Thread Roman Sokolyuk
Hi, Ant: 1.7.1 OS: Mac OS X Leopard Java: 1.5.0_16 Tomcat: 6 I am using the following ant tasks to stop my Tomcat: but when it is executed and Tomcat is already down it obviously throws an exception. Could anyone suggest how I could test whether Tomcat is running, and execute this ta

AW: AW: Taskdef classpath does not work - partII

2009-05-28 Thread Knuplesch, Juergen
Hello, I use getEclipseClasspath to realize the classpath. If I run the class withot Ant inside Eclipse it works with the classpath I defined in Eclipse. It also works if I add the jar to the Ant classpath. It does not work if I only use the Eclipse classpath for the taskdef together with Ant.

Re: AW: Taskdef classpath does not work - partII

2009-05-28 Thread Scot P. Floess
So, how do you construct your class path? Also, what is the exception? On Thu, 28 May 2009, Knuplesch, Juergen wrote: Hello, I have some additional information: My classpath is very long. When I change the classpath order an exception happen somewhere else! Is there a restriction of the le

AW: Taskdef classpath does not work - partII

2009-05-28 Thread Knuplesch, Juergen
Hello, I have some additional information: My classpath is very long. When I change the classpath order an exception happen somewhere else! Is there a restriction of the length of a classpath that will be handled using taskdef? Greetings Jürgen -- Jürgen Knuplesch -Ursprüngliche Nach

AW: Taskdef classpath does nor work

2009-05-28 Thread Knuplesch, Juergen
Hello Scott, No, Because, when I add the jar to the Ant classpath (now ist on the classpath twice), everything works! Probably my classpath is too long. Greetings Juergen -- Jürgen Knupleschwww.icongmbh.de icon Systemhaus GmbHTel. +49 711 806098-275 Sophi

Re: Taskdef classpath does nor work

2009-05-28 Thread Scot P. Floess
Is there some supplementary class that that class requires that isn't there when you use it as you have it defined? On Thu, 28 May 2009, Knuplesch, Juergen wrote: Hello, I do a taskdef with 1.7.1 like: When I display the classpath referenced in java.classpathid I see a certain jar. W

Taskdef classpath does nor work

2009-05-28 Thread Knuplesch, Juergen
Hello, I do a taskdef with 1.7.1 like: When I display the classpath referenced in java.classpathid I see a certain jar. When I run the task it fails, because it can not find a class that is based in that certain jar. When I add the jar in the classpath of Ant it works. This is strange,

Re: clone fake environment variables as real ones for exec

2009-05-28 Thread Dominique Devienne
On Thu, May 28, 2009 at 1:27 AM, Shawn Castrianni wrote: > I would prefer to somehow tell ant to select all properties that start with > env. prefix and add them to the environment of the exec task.  Is this > possible somehow with macros, property selectors, or something else? This is somethin

Re: Looking for jboss-javaee.jar

2009-05-28 Thread Joshua Tharp
I maintain a repository inside my company firewall. I deployed several of the client jars from JBoss to it myself. I found tracking down the version numbers of several of the dependent libraries they deploy difficult, and therefore (obviously) specifying them in my ivy files also difficult. Josh

Re: AW: clone fake environment variables as real ones for exec

2009-05-28 Thread Eric Fetzer
I was looking at the mapper task.  I didn't fully get it, but I think it could handle what you're looking for. From: "Knuplesch, Juergen" To: Ant Users List Sent: Thursday, May 28, 2009 2:23:58 AM Subject: AW: clone fake environment variables as real ones for

Re: PCVS ant task help

2009-05-28 Thread jhoomsharabi
looks like?it should be like this repository = http://loncfg02:8080/dimensions pvcsproject = WS_COLT_OLC_SUPPLIER WS_COLT_OLC_SUPPLIER -Original Message- From: Vinod Tiwari To: user@ant.apache.org Sent: Wed, 27 May 2009 2:21 pm Subject: PCVS ant task help Hi, ? I need

Debugging my AntTasks

2009-05-28 Thread Knuplesch, Juergen
Hello, My selfwritten Ant Task is running into an exception. BUILD FAILED build_ant.xml:2315: The following error occurred while executing this line: build_ant.xml:5428: java.lang.IllegalArgumentException: interface com.intland.codebeamer.remoting.RemoteApi is not visible from class loader I wo

Bug 44226: fixed in which release?

2009-05-28 Thread Christian Berg
Hi! I'm running into the problem described in Bug 44226 (https://issues.apache.org/bugzilla/show_bug.cgi?id=44226): Repeated token in recursion (in a properties file) causes an "Infinite loop in tokens" error. The bug was fixed 9 months ago, but is still present in the current release (1.7.1). Is

AW: clone fake environment variables as real ones for exec

2009-05-28 Thread Knuplesch, Juergen
Hello, One way this could work is by wrting your own exec2 task by using the source and add an argument of your choice that does the trick (an extension of the env argument). Probably a script (python, etc.) language is also able to set environment variables. So you could use the script task

RE: logging level per task

2009-05-28 Thread Rebhan, Gilbert
-Original Message- From: Shawn Castrianni [mailto:shawn.castria...@halliburton.com] Sent: Thursday, May 28, 2009 8:18 AM To: 'Ant Users List' Subject: logging level per task /* [...] possible to turn on verbose ant logging JUST for the duration of 1 task? */ see = http://marc.info/?l=a