AW: Target "ûf" does not exist in the project "null".

2009-02-24 Thread Jan.Materne
>I'm a newbie trying to use ant to build code needed for some VoyenceControl >apps. I've installed ant and axis and attempt to execute ant -f build.xml as >instructed and I get the following: $ant -f build.xml With -f you specify which buildfile (here build.xml) to use. Ant defaults to use 'build.

RE: svnant problems

2009-02-24 Thread Muthu Velappan
Chris, Have you placed these 3 jar files into your ANT_HOME/lib folder.. 1. svnant.jar 2. svnClientAdapter.jar 3. svnjavahl.jar Initially I placed only the first 2 jar files into ANT_HOME/lib folder and started the cruisecontrol, It throws that error unable to load "svntask". Then, I copied the

Optional tasks aren't available - why?

2009-02-24 Thread Troy Telford
I hope this is a quick question: I'm trying to compile some java code that uses a few of the optional tasks in ant. I thought when I had downloaded the ant binary distribution, it would include the optional tasks; however, I can't seem to get at them. And the documentation is oddly silent - all

Re: How to enable source and javadoc downloads and integerate them with Eclipse?

2009-02-24 Thread Kent Larsson
Hi, I would be very greatful if you would take a look! I forgot to mention it, I'm not using any ivy config file so it's all default values. Best regards, Kent On Tue, Feb 24, 2009 at 5:01 PM, Dmitriy Korobskiy wrote: > Kent, > > I am able to get sources from a local repository, but not Javado

Re: svnant problems

2009-02-24 Thread Furingstad
Hi I use the following taskdef to load svnant and it works perfectly! /Klas Chris Green-6 wrote: > > Hi > > I'm trying to get svnant running and keep getting an error :- > > Could not load definitions from reso

Re: Excluding some directories

2009-02-24 Thread Brian Stephenson
Dave, When ** is used as the name of a directory in the pattern, it matches zero or more directories. It definitely works in my build java and javac commands, both of which take fileset parameters. So the first exclude should read (in English) "exclude all file with a Java extensio

Re: Excluding some directories

2009-02-24 Thread dave.alvarado
Hi, Thanks for this input. I changed my directive per your suggestion ... but checkstyle is still examining files I don't want it to. The "**" means a max of two levels deep? I got the same number of messages

Re: Excluding some directories

2009-02-24 Thread Brian Stephenson
I think the problem is you only told your fileset to exclude java files in the /com/myco/ssml directory itself, not in directories below it in the tree. You need to do that. I haven't actually run this in a test setting, so it may need a little syntax goosing, but here goes: Since you only

Re: Excluding some directories

2009-02-24 Thread dave.alvarado
Hi Brian, I put in the directive much as you have it ...

Re: commons-beans (and other commons-* libraries) java doc jar (or sources sometime) rather than the classes jar [solved]

2009-02-24 Thread Angel Cervera Claudio
Maarten Coene escribió: > It is caused because multiple artifacts (a jar with classes and a jar with > sources) are mapped to the same filename by your retrieve pattern. > > A solution would be: > - specify the [type] token in your retrieve pattern, or Whith pattern all go ok. > - add type="jar"

Re: Excluding some directories

2009-02-24 Thread Brian Stephenson
Try re-formatting your checkstyle fileset attribute to look something like this: Brian On Feb 24, 2009, at 10:29 AM, wrote: Hi, I'm using Ant 1.6. I have this task ... >

Re: How to enable source and javadoc downloads and integerate them with Eclipse?

2009-02-24 Thread Dmitriy Korobskiy
Kent, I am able to get sources from a local repository, but not Javadocs. I submitted a new IVYDE issue about it. I can try to take a look on your config. Are you using a public Maven repository? If so, would you mind posting your Ivy config file as well? Kent Larsson wrote: Hi, I'm using

Target "ûf" does not exist in the project "null".

2009-02-24 Thread robnelli
I'm a newbie trying to use ant to build code needed for some VoyenceControl apps. I've installed ant and axis and attempt to execute ant –f build.xml as instructed and I get the following: F:\VoyenceControl>ant –f build.xml Buildfile: build.xml Warning: Reference classpath.build has not been set

Re: commons-beans (and other commons-* libraries) java doc jar (or sources sometime) rather than the classes jar

2009-02-24 Thread Maarten Coene
It is caused because multiple artifacts (a jar with classes and a jar with sources) are mapped to the same filename by your retrieve pattern. A solution would be: - specify the [type] token in your retrieve pattern, or - add type="jar" to your retrieve task Maarten - Original Message --

Excluding some directories

2009-02-24 Thread dave.alvarado
Hi, I'm using Ant 1.6. I have this task ... I want to modify my clause such that it includes all .java files in that directory except for java

Re: Is there a login "wait for password" target/task?

2009-02-24 Thread David Weintraub
Ah! You have Perforce security set to level 3, so you can't pass the password via the command line or via the P4PASSWD environment variable. However, you can pass the Perforce ticket via the command line, so you could still use getoptions. See

RE: commons-beans (and other commons-* libraries) java doc jar (or sources sometime) rather than the classes jar

2009-02-24 Thread Jorge Medina
I had a similar problem with Ivy 2.0 that I did not have with 2.0 beta. Ivy was retrieving jar files with the source code instead of the compiled classes. Adding the element in my dependencies solved the problem: E.g. Before: After: -Original Message- Fro

Re: Is there a login "wait for password" target/task?

2009-02-24 Thread Scott Stark
> asks for entry of some string; it doesn't ask if the property is >already set, so for CI servers you set it up with login details for that >account. > >For talking to a nested shell script, I think the component can >do that I looked at telnet, which is why I thought there might be something si

commons-beans (and other commons-* libraries) java doc jar (or sources sometime) rather than the classes jar

2009-02-24 Thread Angel Cervera Claudio
I'm migrating maven project to ivy 2.0 I get a compile failure because Ivy has delivered me the commons-beans (and other commons-* libraries) java doc jar (or sources sometime) rather than the classes jar. In ivy cache directory, all files downloaded are ok, so i supposed that "resolve" phase is ok

Re: Is there a login "wait for password" target/task?

2009-02-24 Thread Steve Loughran
Scott Stark wrote: Ant has optional Perforce tasks, and these tasks use the globalopts setting, so you can pass a password though that. Hi David, yes I saw that but couldn't find anything that does what I want. Our Perforce install does not allow you to pass a password as a command line paramet