Re: Recursive Property Expansion

2006-12-08 Thread Jack J. Woehr
Hmm, it just seems like five years ago. It was actually 2004. It's still there in http://issues.apache.org/bugzilla/show_bug.cgi? id=29347 On Dec 8, 2006, at 4:49 PM, Jack J. Woehr wrote: Sometime in 2001 we were all discussing recursive property expansion: -- Jack J. Woehr Director of Deve

Recursive Property Expansion

2006-12-08 Thread Jack J. Woehr
Sometime in 2001 we were all discussing recursive property expansion: ${${foo}.${bar}} This would echo "It works!" with recursive expansion. In 1.7.0RC1 it echoes ${${foo}.arf} . I submitted a patch once or twice that would make this work and everyone seemed to nod

Re: 1.7.0RC1 java.lang.NoSuchMethodError: org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine

2006-12-08 Thread Jack J. Woehr
On Dec 6, 2006, at 5:33 PM, Peter Reilly wrote: You can use bsf 2.4.0 and rhino 1.6x but you need apache-commons as well (for bsf 2.4) As Jacob Kjome pointed out, this was in ref to apache commons logging. WFM. Thanks guys! -- Jack J. Woehr Director of Development Absolute Performance, Inc.

Re: 1.7.0RC1 on IBM JDK 1.5

2006-12-08 Thread Steve Loughran
Jonah Beckford wrote: Yes Peter, the same problem occurs. I'll move this problem outside of Ant where it belongs. Thanks for the quick resolution. Jonah Always glad to find a bug in someone else's code. Actually this shows why we are probably going to pull the -proxy stuff. it helps some

Re: 1.7.0RC1 on IBM JDK 1.5

2006-12-08 Thread Jonah Beckford
Yes Peter, the same problem occurs. I'll move this problem outside of Ant where it belongs. Thanks for the quick resolution. Jonah /tmp/example2 $ java -classpath build/classes Test java.lang.UnsatisfiedLinkError: sun/net/spi/DefaultProxySelector.init()Z at sun.net.spi.DefaultProxySel

Re: 1.7.0RC1 on IBM JDK 1.5

2006-12-08 Thread Peter Reilly
Great, now try the to cause the problem at the command line: java -classpath build/classes Test You should get the same problem. If this is the case, you should report the problem to ibm. As regards ant1.7.0 and the default setting of java.net.useSystemProxies, the ant dev team are having di

Re: 1.7.0RC1 on IBM JDK 1.5

2006-12-08 Thread Jonah Beckford
Thanks. Here is what I get (yes, it did throw the exception): /tmp/example2 $ /tmp/ant/bin/ant -verbose Apache Ant version 1.7.0RC1 compiled on December 8 2006 Buildfile: build.xml Detected Java version: 1.5 in: /usr/java5_64/jre Detected OS: AIX parsing buildfile /tmp/example2/build.xml with URI

Re: 1.7.0RC1 on IBM JDK 1.5

2006-12-08 Thread Peter Reilly
Thanks, the crash happens on connection.connect(). Try the following build file in an empty directory: It should show if the problem is complelty in the ibm jdk. import java.net.*; import java.io.*; public class Test { public void run() throws Exception { System.setPropert

Re: 1.7.0RC1 on IBM JDK 1.5

2006-12-08 Thread Jonah Beckford
Here it is with verbose on: /tmp/example $ /tmp/ant/bin/ant -verbose Apache Ant version 1.7.0RC1 compiled on December 8 2006 Buildfile: build.xml Detected Java version: 1.5 in: /usr/java5_64/jre Detected OS: AIX parsing buildfile /tmp/example/build.xml with URI = file:/tmp/example/build.xml Projec

Re: 1.7.0RC1 on IBM JDK 1.5

2006-12-08 Thread Peter Reilly
Can you use ant -verbose. This may give better diagnostics. The problem is not the Get task, it does not set proxies or use any sun class. In ant 1.7.0, system proxies are set by System.setProperty("java.net.useSystemProxies", "true"); (in org.apache.tools.ant.util.ProxySetup called from Main) usi

Re: 1.7.0RC1 on IBM JDK 1.5

2006-12-08 Thread Jonah Beckford
The blank line in the build.xml is: get src="http://www.beanshell.org/bsh-2.0b4.jar"; with a less-than symbol in front and without punctuation at the end. - Original Message From: Jonah Beckford <[EMAIL PROTECTED]> To: user@ant.apache.org Sent: Friday, December 8, 2006 12:32:17 PM

1.7.0RC1 on IBM JDK 1.5

2006-12-08 Thread Jonah Beckford
Using both the 1.7.0RC1 candidate, and the latest from subversion (Dec 8 11:44AM PST), I cannot run the simple build.xml outlined at the bottom without using "-noproxy". The underlying problem seems pretty simple; the "Get" task relies on a Sun package that is not available/reliable on non-Sun

Invalid use of string utils in

2006-12-08 Thread Michael Giroux
Following is an excerpt from $ANT_HOME/etc/junit-noframes.xsl. The purpose of the template is to convert new-lines to tags in text such as stack traces. This template does not insert the desired tags and only deletes the new-lines that are found. I chased this for a week in the

Re: Problem running Undeploy Target in Tomcat 5.5.9

2006-12-08 Thread Steve Loughran
untz wrote: Hello there, I am using JDK 1.5, Eclipse 3.2, and Tomcat 5.5.9. I wrote a build script which compiles, packages (via war file) the source, deploys (moves the war into TOMCAT_HOME/webapps), and is supposed to undeploy (by deleting the particular web app's directory & war file under

Re: Need information about using Eclipse AntRunner

2006-12-08 Thread Michael Giroux
On 12/6/06, Vladimir Egorov <[EMAIL PROTECTED]> wrote: This may be off, but could it be a classloader problem? Say your string extension classes are not visible to classloader that loaded junitreport classes. http://ant.apache.org/faq.html#delegating-classloader --Vladimir As it turns out thi

Problem running Undeploy Target in Tomcat 5.5.9

2006-12-08 Thread untz
Hello there, I am using JDK 1.5, Eclipse 3.2, and Tomcat 5.5.9. I wrote a build script which compiles, packages (via war file) the source, deploys (moves the war into TOMCAT_HOME/webapps), and is supposed to undeploy (by deleting the particular web app's directory & war file under TOMCAT_HOME/w

Access source file from mapper

2006-12-08 Thread Patrick Martin
Hello, I am trying to develop a file name mapper which modifies the file name according to the file content. The idea is to map JPEG file names according to the image EXIF attributes (date, size, ...). The issue I encounter is that the mapper does not have access to the source File object, and t

Re: Many Input xml for one html output.

2006-12-08 Thread Dominique Devienne
>Eh guys, what about the declarations??? AFAIK, you >can't have those in the middle of the file, can you? OK, I'm >just grumpy because I didn't think of it myself! ;-) as long as you dont parse that the declaration and PIs dont matter ;-) I believe is a special PI. Anything with xml in its

AW: Many Input xml for one html output.

2006-12-08 Thread Jan.Materne
>> > 1.) Make one xml file with the whole content >> > >> > >> > >> > >> > >> > >> > >> > >> > >> or use the and elements of >> : >> >> >> >> >> > >Eh guys, what about the declarations??? AFAIK

Re: Many Input xml for one html output.

2006-12-08 Thread Dominique Devienne
On 12/8/06, Peter Reilly <[EMAIL PROTECTED]> wrote: On 12/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 1.) Make one xml file with the whole content > > > > > > > > > or use the and elements of :

AW: Many Input xml for one html output.

2006-12-08 Thread Jan.Materne
>or use the and elements of Oh yes - I used that in my own scripts. Had forgotten that ;-) Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Many Input xml for one html output.

2006-12-08 Thread Peter Reilly
On 12/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: 1.) Make one xml file with the whole content or use the and elements of : 2.) Process that single file. Jan >-Ursprüngliche Nachr

AW: Many Input xml for one html output.

2006-12-08 Thread Jan.Materne
1.) Make one xml file with the whole content 2.) Process that single file. Jan >-Ursprüngliche Nachricht- >Von: Dominique Devienne [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 8. Dezember 2006 00:13 >An: Ant Users List >Betr