Classpath Issue - Not sure why it isn't being picked up

2004-10-05 Thread Grand Cheng
Hi, I am a newbie to Ant so I appreciate any help you can lend me. I am trying to compile a fairly large project, which has multiple packages, and has referencing between them. So when I first created the build file and ran it, I received a slew of "package not found" , and "cannot resolve

Re: Thinking in Ant...

2004-10-05 Thread Eric Weidner
Richard, If you really need strong scripting support for your builds, perhaps you should consider using Gravy (Groovy + Ant). This will give you all the power of scripting with Groovy and Java and still allow you to utilize all the Ant Task functionality that's already been built. And it's al

Re: Thinking in Ant...

2004-10-05 Thread Richard Russell
--- Ant (or make) is not a general purpose scripting language! Mr. Bourne wrote a pretty good scripting language. Yes, but sh (& friends) are not installed by default on Windows, and hence, scripts written for them aren't portable... In make (which isn't portable, I know), you can basically

RE: running tasks without a target actually works?

2004-10-05 Thread Dominique Devienne
Yes, that explains it, but that doesn't mean it's good. This whole business of having the top-level tasks execute when you run -projecthelp or an error message about a missing target being issued after top-level tasks execution is not a good thing. It's unexpected, and feels wrong. I don't have a

Re: running tasks without a target actually works?

2004-10-05 Thread Jacob Kjome
Ahhh... Ok, that explains it exactly. Thanks Peter! Jake Quoting Peter Reilly <[EMAIL PROTECTED]>: > Since ant 1.6.0, tasks can live outside targets. > > These tasks always get run before target resolution - hence > your error line. > > I assume that you did ant javadoc. > The javadoc task wou

Re: running tasks without a target actually works?

2004-10-05 Thread Peter Reilly
Since ant 1.6.0, tasks can live outside targets. These tasks always get run before target resolution - hence your error line. I assume that you did ant javadoc. The javadoc task would get run, then the target "javadoc" would be looked for, and not being found, ant emits the error statement. Peter J

running tasks without a target actually works?

2004-10-05 Thread Jacob Kjome
I was whipping up a temporary build file to run javadoc against some source that I had no API documentation for. When I wrote it up, I didn't realize that I added the stuff, but didn't actually wrap it in a target. I ran it and it actually worked, but then Ant reported [javadoc] 132 warn

Re: Thinking in Ant...

2004-10-05 Thread Peter Reilly
Ant (or make) is not a general purpose scripting language! Mr. Bourne wrote a pretty good scripting language. There are a number of issues with using ant as a scripting language: - there is no pipe like mechanism - the tasks are not ortoginal (concat has different parameters than copy for example)

Re: manifest problems

2004-10-05 Thread Conor MacNeill
David TROGDON wrote: Thanks for the reply Connor Then it is my understanding that since my MANIFEST.MF file starts like this: Manifest-Version: 1.2 Main-Class: na.biomerieux.stagville.bootstrap.BootStrap Class-Path: FastObjects_7JC_SDK.jar xreport_lite.jar xtools.jar JavaMediaFramework.jar JSECla

Re: Thinking in Ant...

2004-10-05 Thread Matt Benson
--- Richard Russell <[EMAIL PROTECTED]> wrote: > I tried using and , but found that I > couldn't do much with > , as it appeared that the only way I could set > the var was with the > task, and I needed to use functionality in > to get > double-redirection. I can't *quite* recall why this > d

Re: Thinking in Ant...

2004-10-05 Thread Matt Benson
--- Richard Russell <[EMAIL PROTECTED]> wrote: > From my reading of the documentation, > doesn't allow nested > s. Yes, I meant "in the future when *I* add the capability to to allow nested s, this will be easy." Sorry for the confusion. :) -Matt _

Re: manifest problems

2004-10-05 Thread David TROGDON
Thanks for the reply Connor Then it is my understanding that since my MANIFEST.MF file starts like this: Manifest-Version: 1.2 Main-Class: na.biomerieux.stagville.bootstrap.BootStrap Class-Path: FastObjects_7JC_SDK.jar xreport_lite.jar xtools.jar JavaMediaFramework.jar JSEClassLibraries.jar

p4sync error

2004-10-05 Thread Mckenna, Rob
I'm having an intermittent problem during our nightly builds in which the p4sync task fails on a file renaming error. I'm not convinced that it has anything to do with Ant but it may. Has anyone seen it and if so what was the resolution? Thanks Rob McKenna error: File rename() failed after 10

Re: Thinking in Ant...

2004-10-05 Thread Richard Russell
>From my reading of the documentation, doesn't allow nested s. I tried using and , but found that I couldn't do much with , as it appeared that the only way I could set the var was with the task, and I needed to use functionality in to get double-redirection. I can't *quite* recall why thi

Re: Thinking in Ant...

2004-10-05 Thread Richard Russell
Hi Stefan, ant-users, Thanks for your response. You said: "...you want to express yourself in loops while Ant wants to work on collections." This is most certainly true! But how do I express what I want to do in this particular case, as an operation on a collection? I'll explain the purpose b

AW: Comparing Checkstyle and JUnit classpath usage patterns

2004-10-05 Thread Jan . Materne
Thats because is part of Ants core classes and is not. An idea is to remove the ant-junit.jar from /lib and bundle it together with the junit.jar. ... mmh - I think, we had a discussion about that on DEV ... some classloader problem ?? Jan > -Ursprüngliche Nachricht- > Von: Roberto Ju

Comparing Checkstyle and JUnit classpath usage patterns

2004-10-05 Thread Roberto Juarez
Hi everyone, I am using both Checkstyle and JUnit with Ant 1.6.2. It is very easy to use Checkstyle as I only need to declare the task and provide it with the necessary jar files as follows (unnecesary content removed):

Re: AW: how do i append text in a file ?

2004-10-05 Thread Markus Innerebner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 thank you. - -- best regards Würth Phoenix S.r.l. Markus Innerebner ZEUS Developer Via Kravogl 4 I-39100 Bolzano Phone: +39 0471 / 564061 Fax: +39 0471 / 564062 E-Mail: [EMAIL PROTECTED] Website: http://www.wuerth-phoenix.com pub 1024D/0E45CE6D 2004-09