Is it possible to only have Eclipse use runtime dependencies for its exploded WAR?

2009-01-26 Thread Kent Larsson
Hi! I have my project setup as a "Dynamic Web Project" in my IDE of choice, Eclipse Ganymede. And I'm using IvyDE. In project properties under the "Libraries" tab I have: ivy.xml [*] Access rules: No rules defined Native library location: (None) Publish/export dependency: /WEB-INF/lib wic

RE: Latest IvyDE fails to resolve dependencies under Eclipse 3.4

2009-01-26 Thread Bagwell, Allen F
-Original Message- From: Xavier Hanin [mailto:xavier.ha...@gmail.com] Sent: Monday, January 26, 2009 10:03 AM To: ivy-u...@ant.apache.org Subject: Re: Latest IvyDE fails to resolve dependencies under Eclipse 3.4 On Mon, Jan 26, 2009 at 4:58 PM, Bagwell, Allen F wrote: > > My team has

Re: removing trailing whitespaces reading properties files

2009-01-26 Thread Blaine Simpson
Trimming leading spaces in properties files would break line-continuation. However, the same tactic can easily be handled by just using a replaceregex filter instead of a trim filter, like Brian Stephenson wrote: > I believe something like this should work: > > > > >

Re: Latest IvyDE fails to resolve dependencies under Eclipse 3.4

2009-01-26 Thread Xavier Hanin
On Mon, Jan 26, 2009 at 4:58 PM, Bagwell, Allen F wrote: > > My team has been using IvyDE in Eclipse 3.3 for some time now with IvyDE 2 > alpha 1. > > Today I am trying to set up Eclipse 3.4, and upon installing the latest > IvyDE and attempting to open an IvyDE-equipped project I keep getting the

Re: 2.0.0rc2 HTTP Authentication For Publishing Not Working

2009-01-26 Thread CalvinJ
Thought I'd follow up w/ the solution I discovered last week. The http-commons library requires a couple of its dependencies also be on the classpath: commons-codec.jar and commons-logging.jar. If these aren't added the class, URLHandlerRegistry, eats the NoClassDefFoundError exception and sets

Re: removing trailing whitespaces reading properties files

2009-01-26 Thread Brian Stephenson
I believe something like this should work: Trim does trim the leading whitespaces as well as trailing whitespaces, but that should not matter while reading a property file. Brian On Jan 26, 2009, at 9:57 AM, Stefano

Latest IvyDE fails to resolve dependencies under Eclipse 3.4

2009-01-26 Thread Bagwell, Allen F
My team has been using IvyDE in Eclipse 3.3 for some time now with IvyDE 2 alpha 1. Today I am trying to set up Eclipse 3.4, and upon installing the latest IvyDE and attempting to open an IvyDE-equipped project I keep getting the message: "Impossible to resolve dependencies of... Resolve proje

removing trailing whitespaces reading properties files

2009-01-26 Thread Stefano Nichele
Hi All, is there a simple way to remove trailing whitespaces/tabs reading properties files ? Thanks in advance ste - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apach

Re: Make copy task fail if any destination file already exists?

2009-01-26 Thread Yves Dessertine
Thank you for your answer. the task is interessting, but it isn't what I need. What I need is to copy a directory with subdirectories within another dir, with subdirs which might have the same name (to merge the contents of both), but while triggering an error if any file already exists in the tar

AW: Classpath question for schell script.

2009-01-26 Thread Jan.Materne
Dont know ... But here the source "ant" line 322: ant_exec_command="exec \"$JAVACMD\" $ANT_OPTS -classpath \"$LOCALCLASSPATH\" -Dant.home=\"$ANT_HOME\" -Dant.library.dir=\"$ANT_LIB\" $ant_sys_opts org.apache.tools.ant.launch.Launcher $ANT_ARGS -cp \"$CLASSPATH\"" -classpath $LOCALCLASSPATH -cp

AW: Make copy task fail if any destination file already exists?

2009-01-26 Thread Jan.Materne
>It is possible with Ant to make a copy task fail if any destination >file already exists? > >I found no clue in the docs (noticed only the "failonerror" param in >copy task (http://ant.apache.org/manual/CoreTasks/copy.html) and in >the condition for the "fail" task, but nothing relevant IMHO). > >

Classpath question for schell script.

2009-01-26 Thread Neil Crow
Hi, Why does the ant shell script specify (different) values for both the -classpath and -cp command line options? Regards, Neil Crow neil.c...@rmb.co.za This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html -

Fwd: Make copy task fail if any destination file already exists?

2009-01-26 Thread Yves Dessertine
Hi there. It is possible with Ant to make a copy task fail if any destination file already exists? I found no clue in the docs (noticed only the "failonerror" param in copy task (http://ant.apache.org/manual/CoreTasks/copy.html) and in the condition for the "fail" task, but nothing relevant IMHO)