Re: Problems downloading the Spring Framework: Ivy 2.0.0

2009-02-04 Thread Kirby Files
Tyler Kocheran wrote on 02/04/2009 02:48 PM: OK. I'm starting to get the jist of Ivy now. Next on my dependency most wanted list is log4j. I can't seem to get that library. Is there a way for me to reenable the mvnrepository.com resolver? Are there any tutorials out there for finding good resolv

Re: Problems downloading the Spring Framework: Ivy 2.0.0

2009-02-04 Thread Kirby Files
Tyler Kocheran wrote on 02/04/2009 02:48 PM: OK. I'm starting to get the jist of Ivy now. Next on my dependency most wanted list is log4j. I can't seem to get that library. Is there a way for me to reenable the mvnrepository.com resolver? Are there any tutorials out there for finding good resolv

Problem with module depending on self

2009-02-04 Thread Tom Widmer
If a module depends on itself (module name matches), an exception is thrown in Ivy, and resolve fails. (the message is 'a module is not authorized to depend on itself'). This is problematic, since there are reasons why a module might depend on itself. e.g. * depends on older version (e.g. to gene

Re: Problems downloading the Spring Framework: Ivy 2.0.0

2009-02-04 Thread Tyler Kocheran
OK. I'm starting to get the jist of Ivy now. Next on my dependency most wanted list is log4j. I can't seem to get that library. Is there a way for me to reenable the mvnrepository.com resolver? Are there any tutorials out there for finding good resolvers on the web? It seems the main problem with

Re: Problems downloading the Spring Framework: Ivy 2.0.0

2009-02-04 Thread Kirby Files
Tyler Kocheran wrote on 02/04/2009 01:57 PM: The error actually turned out to be in this line: If I change that line to something else that's a real package, like "org.springframework.orm", it works. How do I download the entire Spring Framework, though? If I can't figure that out, whatever, I

Re: Problems downloading the Spring Framework: Ivy 2.0.0

2009-02-04 Thread Tyler Kocheran
The error actually turned out to be in this line: If I change that line to something else that's a real package, like "org.springframework.orm", it works. How do I download the entire Spring Framework, though? If I can't figure that out, whatever, I have Ivy working... finally :) How do I specif

Re: Making my JAR file include everything

2009-02-04 Thread dave.alvarado
Great idea. That's what I did and everything is fine now. - > ---Original Message--- > From: Haiqi Wei > Subject: Re: Making my JAR file include everything > Sent: Feb 04 '09 17:05 > > I have not tested this. But can you copy the property files into the basedir > beforehand, >

Re: Problems downloading the Spring Framework: Ivy 2.0.0

2009-02-04 Thread Tyler Kocheran
Gave that one a run, I'm still getting build failed, it doesn't even download any files at all at this point. My build.xml file: My ivy.xml file: http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd ">

Re: Problems downloading the Spring Framework: Ivy 2.0.0

2009-02-04 Thread Kirby Files
Hmm, I would write your settings this way: defaultConflictManager="all"/> http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"; /> http://repository.springsource.com/ivy/bund

RE: newbie: why does log4j pull down all sorts of files?

2009-02-04 Thread Brown, Carlton
It says that the default configuration of your module depends on the master configuration of log4j. The master configuration points to just the library jar itself. -Original Message- From: eqe99 [mailto:eq...@yahoo.com] Sent: Wednesday, February 04, 2009 11:37 AM To: ivy-u...@ant.apache.

Re: Problems downloading the Spring Framework: Ivy 2.0.0

2009-02-04 Thread Tyler Kocheran
I'm kind of new to setting up ivysettings files, I tried doing what you suggested and I'm still getting build failed: http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"; />

Re: Confirming non existance of project before importing

2009-02-04 Thread glenn opdycke-hansen
You could check if a project exists in SVN via command svn info svn status I am not sure how that would be done via Ant, though. -glenn On Wed, Feb 4, 2009 at 4:33 AM, wrote: > > Hi All > > I want to be able to confirm whether a project exists / or not within > Subversion before importing a

Re: Problems downloading the Spring Framework: Ivy 2.0.0

2009-02-04 Thread Tyler Kocheran
Sweet, I'll try that. Is there an XSD for validation of ivysettings.xml files? On Wed, Feb 4, 2009 at 2:52 AM, wrote: > > > > > > Try getting Spring from Spring: > > > http://www.springsource.com/repository/app/library/version/detail?name=org.springframework.spring&version=2.5.6.A&searchType=lib

Re: Making my JAR file include everything

2009-02-04 Thread Haiqi Wei
I have not tested this. But can you copy the property files into the basedir beforehand, then do basedir="${build}"/> Haiqi. On Wed, Feb 4, 2009 at 10:51 AM, wrote: > Hi, > > I'm using Ant 1.6 on Solaris 9. When I created a JAR file, I'm trying to > include eve

Making my JAR file include everything

2009-02-04 Thread dave.alvarado
Hi, I'm using Ant 1.6 on Solaris 9. When I created a JAR file, I'm trying to include everything in my base directory ("basedir") as well as an additional properties file ... But this command creates a JAR file without the contents of the basedir. If I remove the 'includes="${

RE: newbie: why does log4j pull down all sorts of files?

2009-02-04 Thread eqe99
conf="default->master" worked great. what is that trying to say exactly? pull the default conf from the log4j dependency? whats "->master" do? many thx Brown, Carlton-2 wrote: > > In your dependency on log4j, do transitive="false" or > conf="default->master". > > I never ever use transit

Using ant to check out only a single file from CVS

2009-02-04 Thread dave.alvarado
Hi, I'm using Ant 1.6 on Solaris 9. Right now I have a shell script in which I can check out a package from CVS: ant -Duser=$username -Dbaseline=$baseline -Dpackage=$CVS_PACKAGE_NAME cvsCheckout but I was wondering how I can check out only a single file from CVS and then place it on a certa

Simple solutions to sshexec nohup Ant?

2009-02-04 Thread Jan Lund
Hi all, I've Googled some for a solution to run sshexec remote ssh commands via Ant inside Eclipse. But I get some sort of error although it works when the command is ran locally. The solutions I've found on the net seems to involve some extra IO redirection and environment variables. I would l

Re: replacing tokens in strings

2009-02-04 Thread Jacopo Cappellato
Please, ignore my email... it actually works... it was another (not related) issue in my target. Jacopo On Feb 4, 2009, at 12:00 PM, Jacopo Cappellato wrote: Hi all, I am trying to replace all occurrences of a given token in a file while copying it. I am using the task: Everyti

replacing tokens in strings

2009-02-04 Thread Jacopo Cappellato
Hi all, I am trying to replace all occurrences of a given token in a file while copying it. I am using the task: Everyting works fine if the token in the file are in the form of @DATE@ and are *separated* by other strings. It doesn't work if the token is not separated by other strings

Re: Problems downloading the Spring Framework: Ivy 2.0.0

2009-02-04 Thread paul . newport
Try getting Spring from Spring: http://www.springsource.com/repository/app/library/version/detail?name=org.springframework.spring&version=2.5.6.A&searchType=librariesByName&searchQuery=spring The resolvers are: http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/

Confirming non existance of project before importing

2009-02-04 Thread chris.green
Hi All I want to be able to confirm whether a project exists / or not within Subversion before importing a directory structure. Basically if it doesn't exist, then import, otherwise do nothing. Does anyone have any pointers ? Regards Chris *

Re: Getting NAMESPACE_ERR using echoxml

2009-02-04 Thread Jacopo Cappellato
On Feb 3, 2009, at 7:59 PM, Dominique Devienne wrote: On Tue, Feb 3, 2009 at 11:05 AM, Jacopo Cappellato wrote: I am trying to run the following task: http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd ">