Build fails with error "Could not create task or type of type: eclipse.buildScript"

2008-08-11 Thread eagerbeaver
Hi I just switched our build over from eclipse 3.2 and ANT 1.6.5 to build against eclipse 3.4 using ANT 1.7. I set the environment variable ANT_HOME (to the 1.7 install folder) and changed PATH to include %ANT_HOME%\bin. But when I run the build it falls over when it gets to the point of gener

Build fails with 'Unable to delete directory'

2006-12-01 Thread eagerbeaver
I have a nightly build that sometimes fails when an auto-generated build script attempts to delete a directory. I am not sure why this happens. But I would normally set 'failonerror' to 'false' to prevent the build from falling over in such a case. However, how do I overcome this problem when the

RE: Mail task failure

2006-07-13 Thread eagerbeaver
Thanks for your response. According to the documentation, the only library dependencies the Mail task requires are mail.jar and activation.jar. The latest versions of these are in my $ANT_HOME$/lib. There is nothing to say that library dependencies have changed since Ant v1.6.2. I am still at a

Mail task failure

2006-07-12 Thread eagerbeaver
The task in my nightly build script keeps failing with the error "Failed to initialise MIME mail: javax.mail.Address". This only started happening when I started using Ant 1.6.5. Email still works when I revert back to using Ant 1.6.2. The JAF 1.1 and Javamail 1.4 jars are in ANT_HOME/lib. So wh

Why am I getting 'Failed to initialise MIME mail: javax.mail.Address' ?

2006-07-11 Thread eagerbeaver
I have searched extensively for an answer to why my Ant task keeps failing with this error. The only clue I could find was that this message usually means that mail.jar and/or activation.jar are missing from ANT_HOME/lib. I downloaded JAF 1.1 and Javamail 1.4 and installed all the jars to ANT_HOM

Deploying a composite feature

2006-04-24 Thread eagerbeaver
I am a novice Ant user. I want my automated scripts to deploy a composite feature that can be used to install all my plugin features. Please could somebody tell me what changes I have to make to customTargets.xml and any other changes that may be necessary to achieve this. At the moment, for eac

How to embed a link in email notification?

2006-04-10 Thread eagerbeaver
I am a newcomer to Ant. I am using the Mail task and Message element to send email notification of each nightly build with build reports attached. But I want to be able to embed a link to the shared folder location of the nightly build reports instead. How do I do this? -- View this message in