AW: How to access the basedir of ANOTHER project in Eclipse?

2008-10-27 Thread Jan.Materne
AFAIK you cant: - Ant doesnt know anything about Eclipse. - An Eclipse workspace knows its projects but a project does not know its workspace. Therefore parsing the .classpath and .project files wouldnt help. Jan >-Ursprüngliche Nachricht- >Von: Ben Stover [mailto:[EMAIL PROTECTED]

How to access the basedir of ANOTHER project in Eclipse?

2008-10-27 Thread Ben Stover
Assume I use a build.xml in Project AAA. As part of a property definition I want to define a folder from ANOTHER project BBB within the same Eclipse installation. However the actual path should NOT be entered directly (=absolute) but relative to the current workspace. It should go similar like:

java.security.PrivilegedActionException in Jython scriptdef

2008-10-27 Thread Morgan Kinne
Hi, I'm a newbie here and a newbie to Jython and scripting in Ant. In that vein: I've created a scriptdef task which I wrote in Jython. I'm using BSF as the manager. My intent was to delete files within this task. Everything works right up to the point where a file is to be deleted, when I get

AW: ant default classpath

2008-10-27 Thread Jan.Materne
Ant doesnt require a CLASSPATH and you shouldnt have one set. The ant.* launch script starts the ant-launcher.jar. This one collects all JARs in /lib and /lib/optional and all JARs given with -lib option. Jan >-Ursprüngliche Nachricht- >Von: Tyler Roscoe [mailto:[EMAIL PROTECTED] >Ges

Re: ant default classpath

2008-10-27 Thread Tyler Roscoe
On Sat, Oct 25, 2008 at 06:28:23PM -0700, Brendan Miller wrote: > I'm on Linux. I don't have CLASSPATH set in my shell. It sure doesn't > look like it's getting set in elsewhere, but the build environment I'm > working in is complicated, so maybe I'm missing something. > > Are you *sure* that Ant