RE: Problems setting ant build directory

2003-08-08 Thread tomasflyer
Hi again,

some corrections and further observations:

If I set jde-ant-enable-find to ON, the build.xml is found, but ant is still run from 
deep down in src file tree. This regardless of wheter jde-resolve-relative-path is on 
or off or the setting of jde-ant-working-directory.

Setting jde-cygwin-path-converter to jde-cygwin-path-converter-internal works 
reasonable, while jde-cygwin-path-converter-cygpath often mess up the path. I have 
e.g. mounted c:\Documents and Settings\myuser as /home/myuser, but 
jde-cygwin-path-converter-cygpath often recursively appends the window path to the 
window path.

(I also had problems subscribing to the jde list, due to using a brand new, not fully 
initialized webmail account. Hopefully fixed now.)

Kind regards

Tomas

tomasflyer wrote:

>Hi,
>
>I an occasional JDEE user, using JDEE 2.3.3-beta5 from Cygwin/XFree86 2.0 on Windows 
>2000.
>
>I want to use jde-ant as build method, e.g. to get ant target auto-completion. But I 
>have not succeeded to set the ant build home to my project top level directory (where 
>my build.xml as well as prj.el resides).
>
>Typically the build command starts with a cd to the location of the current Java 
>source file and the build.xml is not found. If I set jde-ant-enable-find to off, the 
>build.xml is found, but ant is still run from deep down in src file tree.
>
>I have found posts about this earlier in the mail archive, the recommendation then 
>was then to use make as build method and give ant as build program. This is my 
>current setting, but I have to hard-code the path to my project directory to get it 
>to work as I want.
>
>Generally in specifying JDEE directory locations, are there ways to specify paths 
>relative to the prj.el and/or build.xml locations that works together with Cygwin 
>path translation?
>
>Kind regards
>
>Tomas
>
>__
>McAfee VirusScan Online from the Netscape Network.
>Comprehensive protection for your entire computer. Get your free trial today!
>http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
>
>Get AOL Instant Messenger 5.1 free of charge.  Download Now!
>http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
>

__
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455


Problems setting ant build directory

2003-08-04 Thread tomasflyer
Hi,

I an occasional JDEE user, using JDEE 2.3.3-beta5 from Cygwin/XFree86 2.0 on Windows 
2000.

I want to use jde-ant as build method, e.g. to get ant target auto-completion. But I 
have not succeeded to set the ant build home to my project top level directory (where 
my build.xml as well as prj.el resides).

Typically the build command starts with a cd to the location of the current Java 
source file and the build.xml is not found. If I set jde-ant-enable-find to off, the 
build.xml is found, but ant is still run from deep down in src file tree.

I have found posts about this earlier in the mail archive, the recommendation then was 
then to use make as build method and give ant as build program. This is my current 
setting, but I have to hard-code the path to my project directory to get it to work as 
I want.

Generally in specifying JDEE directory locations, are there ways to specify paths 
relative to the prj.el and/or build.xml locations that works together with Cygwin path 
translation?

Kind regards

Tomas

__
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455