Re: Running ANT build via the web

2009-01-09 Thread glenn opdycke-hansen
Running Ant via Web can be done via CruiseControl or AntHill or other sw -glenn On Fri, Jan 9, 2009 at 9:07 PM, Marijan (Mario) Madunic wrote: > Curious if there is a way to run an ANT build via web page? Can Tomcat do > this? Any leads would be greatly appreciated. > > Marijan (Mario) Madunic >

Running ANT build via the web

2009-01-09 Thread Marijan (Mario) Madunic
Curious if there is a way to run an ANT build via web page? Can Tomcat do this? Any leads would be greatly appreciated. Marijan (Mario) Madunic - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands,

build.xml losing empty lines

2009-01-09 Thread David Hadley
The following tag in my build.xml is forcing my build.xml to be overwritten with it's same contents only without empty lines. This is undesirable as it makes the file less readable and alters the timestamp on the file. Has anyone solved this or similar problems? ---

Re: Can't find tools.jar when invoking ant programatically

2009-01-09 Thread Scot P. Floess
Uh yeah... Your JAVA_HOME should point to /usr/local/jdk1.6.0_11 On Fri, 9 Jan 2009, robert lazarski wrote: On Fri, Jan 9, 2009 at 5:12 PM, Scot P. Floess wrote: If you type javac at the command line, what do you see? /root> javac Usage: javac where possible options include: Someth

Re: Can't find tools.jar when invoking ant programatically

2009-01-09 Thread robert lazarski
On Fri, Jan 9, 2009 at 5:12 PM, Scot P. Floess wrote: > > If you type javac at the command line, what do you see? > /root> javac Usage: javac where possible options include: Something screwy is going on, the error: ERROR: /programs/atadapter/oa/openAdapter/ati.build.xml:47: Unable to find a

RE: Can't find tools.jar when invoking ant programatically

2009-01-09 Thread Scot P. Floess
If you type javac at the command line, what do you see? On Fri, 9 Jan 2009, Lucas Albers wrote: You need to set your java variables, see if setting these variables solves your problems.. IF EXIST "C:\apache-ant-1.7.0" set ANT_HOME=C:\apache-ant-1.7.0 IF EX

Re: Do something if downloads file

2009-01-09 Thread Kent Larsson
Hi Brian, Thanks for trying to help, but the key to my problem is that I use usetimestamp="true" in my get task. It means that the file will be downloaded for two cases: 1) The file isn't there to begin with and 2) The file is there but has a time stamp going back further in time than the remote f

RE: Can't find tools.jar when invoking ant programatically

2009-01-09 Thread Lucas Albers
You need to set your java variables, see if setting these variables solves your problems.. IF EXIST "C:\apache-ant-1.7.0" set ANT_HOME=C:\apache-ant-1.7.0 IF EXIST "C:\apache-ant-1.7.1" set ANT_HOME=C:\apache-ant-1.7.1 IF EXIST "c:\Program Files\Java\jdk1.6.0

Re: replaceregexp and html tags in replace attribute

2009-01-09 Thread jbmdharris
Please my original post. As usual, when you finally give up and make a post, you find the problem. In my case, the problem was I had an HTML escaping task that was called from the parent task of the one I was working in. The HTML escaping task was called AFTER I ran the replaceregexp that put i

Re: Can't find tools.jar when invoking ant programatically

2009-01-09 Thread robert lazarski
On Fri, Jan 9, 2009 at 3:40 PM, Scot P. Floess wrote: > What does your javac line look like in your build.xml? > Thanks for the reply: With definitions: - R - To unsubscribe, e-mail: user-uns

replaceregexp and html tags in replace attribute

2009-01-09 Thread jbmdharris
What is the proper way to format the replace attribute of a replaceregexp task so that HTML < and > characters appear in the output? My problem is, no matter how I write the attribute, my less than and greater than characters are being written out as escaped entities in the output file. (ampersa

Re: Can't find tools.jar when invoking ant programatically

2009-01-09 Thread Scot P. Floess
What does your javac line look like in your build.xml? On Fri, 9 Jan 2009, robert lazarski wrote: Hi all, I'm running ant 1.7.0 with jdk1.6.0_11 on linux. I have the jdk, and not the jre. However, I get this error when invoking ant programatically, via "project.executeTarget(project.getDefault

Can't find tools.jar when invoking ant programatically

2009-01-09 Thread robert lazarski
Hi all, I'm running ant 1.7.0 with jdk1.6.0_11 on linux. I have the jdk, and not the jre. However, I get this error when invoking ant programatically, via "project.executeTarget(project.getDefaultTarget())" and the like. Here's my error: /programs/atadapter/oa/openAdapter/ati.build.xml:49: Unable

union, fileset and war

2009-01-09 Thread Haiqi Wei
Hi everyone, I have a questions regarding the tag of the task. I have a union of filesets which includes all the jars required for the war. I am able to refer this union in compile path like this: I want to do the same thing when build the war, but unfortunately,

Re: Do something if downloads file

2009-01-09 Thread Brian Stephenson
Kent, There may be a more direct way to do this, but I accomplish a similar thing this way (I munged my code to match yours): property="dest.file.present"/> Then the targets following can have the "if" attribute in the target: if="dest.file.present"> ... With "available", the designat

XML Schema for build.xml

2009-01-09 Thread Tejash Shah
Is there an XML Schema for the build.xml? Tejash NOTICE: This e-mail message and any attachments may contain confidential, proprietary, or privileged information. If you are not the intended recipient, please notify us immediately by return e-mail, delete this message, and destroy all ph

Do something if downloads file

2009-01-09 Thread Kent Larsson
In a target I download a remote file if it's newer than the current local one or if no local copy exists. I do it using the following code and it works as it's supposed to: http://a.com/b.jar"; dest="${destination.file}" usetimestamp="true"/> Now to my problem: I would like to do somethin

Re: 550 Failed to change directory

2009-01-09 Thread Mike Stewart
Sounds like someone changed the permissions on the target directory on the remote machine. Mike S. >>> "Christopher Styles" 09/01/2009 15:23:09 >>> Hi, I have been running an ant target via cruise control for some time that ftp's one file from my build box to a linux environment, then all of

550 Failed to change directory

2009-01-09 Thread Christopher Styles
Hi, I have been running an ant target via cruise control for some time that ftp's one file from my build box to a linux environment, then all of a sudden the target stopped working, and now I receive a "550 Failed to change directory" whenever that target runs, and it causes the build overall to f

Re: Bug in ivy:deliver

2009-01-09 Thread Martin Eigenbrodt
Ok. I'll try to write a unittest for this. Ticket: https://issues.apache.org/jira/browse/IVY-999 Martin 2009/1/8 Maarten Coene > Hi Martin, > > can you create a new bug report in JIRA? Please add as much detail as > possible (your mail is detailed enough I think, maybe you can also attach > the

Re: AW: Flex Unit Test Fails using Ant

2009-01-09 Thread Sunils_82
Hi Jan, Including the FlexAntTasks.jar file in the tag worked fine. . Thanks a lot Jan. Sunils Jan.Materne wrote: > > Because FlexUnit is not part of Ant Core (even not maintained by Ant) you > have to declare that. > See the manual for > - AntLib > - > and (of course) the manual of Flex

AW: Flex Unit Test Fails using Ant

2009-01-09 Thread Jan.Materne
Because FlexUnit is not part of Ant Core (even not maintained by Ant) you have to declare that. See the manual for - AntLib - and (of course) the manual of FlexUnit "installation" section. Jan >-Ursprüngliche Nachricht- >Von: Sunils_82 [mailto:sunils...@yahoo.com] >Gesendet: Freitag

Flex Unit Test Fails using Ant

2009-01-09 Thread Sunils_82
When i run the flexunit test using ant script the task fails with the following error BUILD FAILED: Problem: failed to create task or type flexunit Cause: The name is undefined. Action: Check the spelling. Action: Check that an