RE: taskdef class org.tigris.subversion.svnant.SvnTask cannot be found

2009-05-13 Thread Rajesh Kumar (IN4774)
Yes. These lib are added in ANT_HOME/lib. Regards,Rajesh -Original Message- From: Brian Pontarelli [mailto:br...@pontarelli.com] Sent: Wednesday, May 13, 2009 7:33 PM To: Ant Users List Subject: Re: taskdef class org.tigris.subversion.svnant.SvnTask cannot be found Did you add these to t

Re: Merge base settings with environment specific ones

2009-05-13 Thread nagish
Yes, merging or concatenating two files together is non-issue if you explicitly tell the Ant script what files to merge. But remember the Ant build script is expected to be used for building anything that follows the same convention. What this means is that the Ant script can not hardcode the sett

Re: Ant Install problems

2009-05-13 Thread David Weintraub
Hmmm... Ant is a Java program. The "ant" command itself is a shell script that assembles the Java command to run Ant. There's really not much to install. I had some problems with Ant on Fedora. Ant on Fedora was a complicated affair and I couldn't get it to run my Java 1.6 installation. There was

Re: Merge base settings with environment specific ones

2009-05-13 Thread Eric Fetzer
Since they don't contain the same settings couldn't you just append one file to the end of the other or something similar with maybe? From: nagish To: user@ant.apache.org Sent: Wednesday, May 13, 2009 2:24:53 PM Subject: Re: Merge base settings with environment

Re: Merge base settings with environment specific ones

2009-05-13 Thread nagish
I respect your opinion. Just to clarify -- the base property file contains only environment independent settings while the environment specific property files contain only settings specific to the target environment. In other words, the latter is not supposed to override the former, rather it exte

Ant Install problems

2009-05-13 Thread Samuel Lee
When trying to install Ant using the 'ant install' command on a Centos 5.2 box, I get the following error: [echo] Errors connecting to DB [echo] [No error if output is '${sql.exception}']: The type doesn't support the "expandproperties" attribute. Help! Sam -

Re: Merge base settings with environment specific ones

2009-05-13 Thread Eric Fetzer
I really don't like the concept of managing multiple sets of the same source code for different environments.  If I have a.properties and a.dev.properties, I then need to maintain the same thing in multiple places and WILL screw up.  If that's a game that you're willing to play, just copy a.dev.

taskdef jars, unloading & deleting

2009-05-13 Thread Sam Berlin
Hi Folks, I have an issue with ant 1.7.1 where I need to delete jars that were loaded as a taskdef through a call to to run a separate project's build scripts. The scenario is: master script: 1) Downloads code from CVS to a temporary directory 2) Runs preparation tasks 3) Runs: 3a) inner

Re: Merge base settings with environment specific ones

2009-05-13 Thread nagish
Thanks Eric. What you did certainly is one of the options. I was wondering if the same thing could also be done with Ant built-in capabilities. One thing I'm not sure is that once the script gets a set of base setting files, i.e. those that don't have environment tag embedded in their names, how i

Re: Merge base settings with environment specific ones

2009-05-13 Thread Eric Fetzer
Yeah, the NAnt script would use the task to call the program with the argument specifying what environment it was building from.  So in Ant terms:                   From: nagish To: user@ant.apache.org Sent: Wednesday, May 13, 2009 12:54:43 PM Subj

Re: Merge base settings with environment specific ones

2009-05-13 Thread nagish
Thanks Eric. If I understood you correctly, it's that program you wrote that did the trick for you, not the NAnt script. Is it correct? Thanks. Eric Fetzer wrote: > > OK, so here's what I did with NAnt and a C# .Net project for this same > problem.  My properties files were all xml, so I wrote a

Re: Merge base settings with environment specific ones

2009-05-13 Thread Eric Fetzer
OK, so here's what I did with NAnt and a C# .Net project for this same problem.  My properties files were all xml, so I wrote a program that read a master config file and based on what argument was passed for , the program went into the config file it was configuring at the designated xpath and

Re: Merge base settings with environment specific ones

2009-05-13 Thread nagish
Thanks for the reply. A couple of clarifications: 1. The setting property files are intended to be built by an Ant script as part of an application. In other words, the properties contained in those files are to be read by the application, not by the Ant build script itself. 2. The setting prope

Re: Merge base settings with environment specific ones

2009-05-13 Thread nagish
Thanks for the reply. A couple of clarifications: 1. The setting property files are intended to be built by an Ant script as part of an application. In other words, the properties contained in those files are to be read by the application, not by the Ant build script itself. 2. The setting prope

ANT does not create index.html when using javadoc task

2009-05-13 Thread Iwud H8u
Hi, I am having trouble exporting javadocs using an Ant task. Ant seems to generate the javadocs alright but it does not create the index.html file for the java docs. In fact, the only files in the output directory are : constant-values.html overview-frame.html package-list resources serialized-

Re: Merge base settings with environment specific ones

2009-05-13 Thread Eric Fetzer
The first statement will load in all of the env dependant properties.  The second will load in all of the others.  Someone correct me if I'm wrong, but I don't believe the second statement will overwrite any of the properties that were already set by the first because you would have to "unset

Merge base settings with environment specific ones

2009-05-13 Thread nagish
In my project some settings are environment dependent and others are not. We decided to partition these different settings into different files. The file naming convention is such that a file that contains environment independent settings can be named as anything with the "properties" extension wh

using ivy for resolving findbugs-1.3.8

2009-05-13 Thread Giridharan Kesavan
Hi I'm trying to get this findbugs dependency resolved using ivy. And I want to use findbugs-1.3.8 and see that its available through com.google.code.findbugs http://www.mvnrepository.com/artifact/com.google.code.findbugs IVY is able to resolve findbugs-1.3.8 but when It tries to resolve bcel-1

Re: taskdef class org.tigris.subversion.svnant.SvnTask cannot be found

2009-05-13 Thread Brian Pontarelli
Did you add these to the ANT_HOME/lib directory? -bp On May 13, 2009, at 1:24 AM, Rajesh Kumar (IN4774) wrote: I got following error in when I execute one target in ant... file:/data/stage2/BUILDFOPS/build.xml:6: taskdef class org.tigris.subversion.svnant.SvnTask cannot be found I have f

Re: property file syntax

2009-05-13 Thread Dave Pawson
2009/5/13 Mark Salter : >>>        http://ant.apache.org/manual/ >> >> >> ?  I see no mention of property file description/syntax there? >> > It's a link to the complete manual, which is what I thought you needed? > > The Property task is under :- > >   Ant Tasks/Core Tasks/Property > > as the ori

Re: property file syntax

2009-05-13 Thread Mark Salter
Dave Pawson wrote: > 2009/5/13 Mark Salter : >> Dave Pawson wrote: >> >>> How to get it into the ant documentation Table of Contents? >>> >>> >>http://ant.apache.org/manual/ > > > ? I see no mention of property file description/syntax there? > It's a link to the complete manual, which i

Re: property file syntax

2009-05-13 Thread Dave Pawson
2009/5/13 Mark Salter : > Dave Pawson wrote: > >> How to get it into the ant documentation Table of Contents? >> >> > >        http://ant.apache.org/manual/ ? I see no mention of property file description/syntax there? regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawso

Re: property file syntax

2009-05-13 Thread Mark Salter
Dave Pawson wrote: > How to get it into the ant documentation Table of Contents? > > http://ant.apache.org/manual/ -- Mark - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: us

Re: property file syntax

2009-05-13 Thread Dave Pawson
2009/5/13 David J. B. Hollis : > Hi, David > > http://ant.apache.org/manual/CoreTasks/property.html > > > The rules for this format are laid down by Sun. > http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html#load(java.io.InputStream) > > > David Thanks David. How to get it into th

Re: property file syntax

2009-05-13 Thread David J. B. Hollis
Hi, David http://ant.apache.org/manual/CoreTasks/property.html The rules for this format are laid down by Sun. http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html#load(java.io.InputStream) David I'm having 'fun' with a properties file syntax. E.g. white space on the end of a

Re: IvyDE: impossible to resolve dependencies

2009-05-13 Thread Nicolas Lalevée
On mercredi 13 mai 2009 05:54:21 rob08 wrote: > Hi all, > > I'm migrating projects from ivy1 to ivy 2. My ant task is able to resolve > dependencies using ivy 2 fine. > > Using IvyDE in Eclipse 3.4, I get errors as follows: > Impossible to resolve dependencies of somevendor#somemodule;work...@mypc

property file syntax

2009-05-13 Thread Dave Pawson
I'm having 'fun' with a properties file syntax. E.g. white space on the end of a line! Is the syntax described in the ant manual please (using 1.7), I can't find it. TIA -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk --

Re: hang up even inputstring=""

2009-05-13 Thread coonay
http://ant.apache.org/faq.html#input-makes-exec-hang http://ant.apache.org/faq.html#input-makes-exec-hang ,that's why i make input="", but i found it makes no difference without input property David Weintraub wrote: > > The only solution is not to call an that waits for input when > that input

Re: hang up even inputstring=""

2009-05-13 Thread coonay
radia.bat: @echo off set EXE=psexec \\%RHOST% -u %USER% -p %PASSWORD% %CMD% %ARG% set EXE=psexec \\%RHOST% -s %CMD% %ARG% echo EXE=%EXE% echo @echo off >tmp.bat echo %EXE%>>tmp.bat start /WAIT tmp.bat >radia.log 2>&1 David Weintraub wrote: > > The only solution is not to call an that wait

taskdef class org.tigris.subversion.svnant.SvnTask cannot be found

2009-05-13 Thread Rajesh Kumar (IN4774)
I got following error in when I execute one target in ant... file:/data/stage2/BUILDFOPS/build.xml:6: taskdef class org.tigris.subversion.svnant.SvnTask cannot be found I have following files added in path ganymed.jar svnClientAdapter.jar svnant.jar svnjavahl.jar Any Solution