Re: Manifestations

2005-07-07 Thread Kai Hendry
Rainer Noack wrote: Both manifest entries are often used. 1) Class-path: lists "required" jars (typically if one application consists of many jars). Many classloaders evaluate this entry. Yes, couldn't this be automagically generated? It seems to be made by hand in my project. Is there a

Re: Nested element problem in custom task

2005-07-07 Thread Conor MacNeill
This is expected behaviour. When the Child instance is added to MyTask, it is not yet configured (i.e. its attributes are not yet set) . It will be configured by the time your task's execute() method is called. The normal strategy is just to accumulate the Child objects in a collection and only use

Nested element problem in custom task

2005-07-07 Thread Gilles QUERRET
Hello, Short story : I have an issue when adding a child element to its father : child's attribute are not set when in addChild(Child element) method... -- build.xml fragment -- ... In the classfile for Child, there's a setAttribute(String) method. In the classfile for MyTask, ther

Re: antcall task not behing executed.

2005-07-07 Thread Juergen Hermann
On Thu, 7 Jul 2005 09:23:18 -0500, George Dibi wrote: ... ... or use ant-contrib's if. Ciao, Jürgen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: cvs task failing from cron

2005-07-07 Thread Anderson, Rob (Global Trade)
I usually have the cron job source my profile like so... 10 30 * * * . ~/.profile ; /usr/bin/ant -buildfile /home/me/build.xml -logfile /home/me/log.txt Then make sure your PATH is set correctly in your ~/.profile -Rob A > -Original Message- > From: blackwater dev [mailto:[EMAIL PROTEC

Branching off of Main

2005-07-07 Thread S I
Hi We're a Java shop serving our product on the web and soon to branch off for our next release. My current build.xml file checksout from MAIN nightly, modifies couple of files by time and date stamping them, tags the repository, compiles, and deploys the WAR files onto the servers under Tom

Re: HTTP tasks

2005-07-07 Thread Ivan Ivanov
Robert, thank you for the answers. I successfully configured Apache and managed to upload my pages using your javascript code. Your help was of great value to me. Regards Ivan --- "Robert r. Sanders" <[EMAIL PROTECTED]> wrote: > For simple (non-versioned) PUT requestes try: > > http://www.tldp

RE: Javadoc on all subdirectories

2005-07-07 Thread Bill Rich
Maybe try a . Try fiddling around with this to see if you can make it work. HTH Bill -Original Message- From: Kjersti Berg [mailto:[EMAIL PROTECTED] Sent: Thursday, July 07, 2005 1:37 AM To: Ant Users List Subject: Re: Javadoc on all subdirectories

Re: cvs task failing from cron

2005-07-07 Thread blackwater dev
Thanks Larry...I'll give it a go. Thanks again! On 7/7/05, Shatzer, Larry <[EMAIL PROTECTED]> wrote: > The script that cron calls to run your ant script (if you have one) needs to > set up the environment. If there is no script, but it calls ant itself, make > a wrapper shell script that sets up

antcall task not behing executed.

2005-07-07 Thread George Dibi
Hi all, Can someone help me with this problem? I am trying to do an "if" condition but it is failing to send the email after successful build. -Original Message- From: bla

RE: cvs task failing from cron

2005-07-07 Thread Shatzer, Larry
The script that cron calls to run your ant script (if you have one) needs to set up the environment. If there is no script, but it calls ant itself, make a wrapper shell script that sets up the path. I'm sure a few google searches can help. -- Larry > -Original Message- > From: blackwater

Re: cvs task failing from cron

2005-07-07 Thread blackwater dev
Sorry Larry to be so dense but I am a linux newbie. So in the cron it needs to set the PATH variable as it is the cron that runs the ant script. On 7/7/05, Shatzer, Larry <[EMAIL PROTECTED]> wrote: > Well you can't do that from your shell, since cron's shell is stripped, like > I said. So you wil

RE: cvs task failing from cron

2005-07-07 Thread Shatzer, Larry
Well you can't do that from your shell, since cron's shell is stripped, like I said. So you will have to set the PATH variable in your script that calls the ant script. If you don't have a shell script that calls your ant script, create one for the purpose of building up the environment you need.

Re: cvs task failing from cron

2005-07-07 Thread blackwater dev
So cvs should be in my path env variable? How do I check that? echo $PATH? On 7/7/05, Shatzer, Larry <[EMAIL PROTECTED]> wrote: > Make sure your script for cron sets up your path so cvs is in your path. > Cronjobs run in a minimal environment. > > -- Larry > > > -Original Message- > >

RE: cvs task failing from cron

2005-07-07 Thread Shatzer, Larry
Make sure your script for cron sets up your path so cvs is in your path. Cronjobs run in a minimal environment. -- Larry > -Original Message- > From: blackwater dev [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 07, 2005 5:48 AM > To: Ant Users List > Subject: cvs task failing from cro

cvs task failing from cron

2005-07-07 Thread blackwater dev
I have a cvs task that uses ssh authentication to checkout: After asking a question yesterday about storing my ssh password, I set up an ssh key and now when I ssh into the box, I can run the build script and everything runs fine and it doesn't ask for my password. The problem is, I need to run

RE: Ant Configuration Problem

2005-07-07 Thread Liying Miao
Hi Jurgen, You were right, this error goes away by being changed to "/". I just don't understand why it works in all the other uPortal ant builds. Shall I change it in ant.bat or some other file so that it's universal? Ignore if uPortal doesn't sound familiar to you. Thanks very much. Liying -

AW: Javadoc on all subdirectories

2005-07-07 Thread Jan.Materne
I did a quick test, which works for me: 1. Created a simple project: 1.1 directory layout C:\ant\anttests\javadoc\build.xml C:\ant\anttests\javadoc\dir1\org\apache\tools\ant\HelloWorld.java C:\ant\anttests\javadoc\dir2\org\apache\ant\HelloWorld2.java 1.2 content - build.xml

Re: Javadoc on all subdirectories

2005-07-07 Thread Kjersti Berg
On 07/07/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > first thought would be > > > Jan > Thanks for the quick reply. This gives me this error: doc-all: [javadoc] BUILD FAILED: file:C:/Workspace_WSADIE5/ALT_FOR_JAVADOC/NLP_Build/build.xml:189: No source files and no packages have be

AW: Javadoc on all subdirectories

2005-07-07 Thread Jan.Materne
first thought would be Jan >-Ursprüngliche Nachricht- >Von: Kjersti Berg [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 7. Juli 2005 09:36 >An: Ant Users List >Betreff: Javadoc on all subdirectories > >Hi > >I am looking for a way to run javadoc on all sourcefiles for >multiple pro

RE: [ant-contrib] AntPerformanceListener problem:NullPointerException

2005-07-07 Thread hind.lwahhabi
Did any of you encountered the same kind of problems? Please any help is welcome. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wed 7/6/2005 2:37 PM To: user@ant.apache.org Subject: [ant-contrib] AntPerformanceListener problem:NullPointerException Hello guy

Javadoc on all subdirectories

2005-07-07 Thread Kjersti Berg
Hi I am looking for a way to run javadoc on all sourcefiles for multiple projects. So far I have used the javadoc task, but I have to specify all the source directories specifically. The projects each have their own directory, and the source files are located in a subdirectory. These source direc

Re: ordered fileset or selective filelist

2005-07-07 Thread Juergen Hermann
On Wed, 6 Jul 2005 08:59:57 -0400, Mark Lybarger wrote: >I've got a macrodef, and am calling it as you mentioned, I just can't seem >to figure out how to conditionally call the subant only if hte file >exists...? Use a fileset, not a buildpath, if the fileset is empty, subant should be a NOP.

AW: Ant Configuration Problem

2005-07-07 Thread Jan.Materne
Hhm "-buildfile" works for me. Try that out: * create a directory (I used c:\temp\ant-test) * write in buildfile there ${basedir} * create another directory (I used c:\temp\ant-test\dir) * copy the buildfile into that dir * go to your dir (...\ant-test) * try the default C:\TEMP\ant-

Re: Ant Configuration Problem

2005-07-07 Thread Juergen Hermann
On Wed, 6 Jul 2005 11:07:37 -0400, Liying Miao wrote: >C:\UPORTAL>set ANT_HOME=./Ant_1-6-2 Try backslashes, and a FULL path, not a relative one. Ciao, Jürgen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command