The build has been tested on windows, so my guess it's an environment
issue.  I think the problem might be the back slashes.  I'm not really
sure from what I see here, but you'll need front slashes for
everything (including environment variables).

Here's my build.properties:

------------------------------------------------------------
#user editable build configuration parameters
#Mon Aug 03 06:47:58 CST 2009
cedet.dir=c\:/u/home/opt/lib/emacs/cedet-1.0beta3b
elib.dir=c\:/u/home/opt/lib/emacs/elib-1.0
build.bin.emacs=c\:/pf/emacs-22.3/bin/emacs.exe
config.time=2009/08/03 06\:47
prefix.dir=c\:/u/home/opt/lib/java/jde-2.4.0
------------------------------------------------------------

Here's a build (look at the forward slashes in the build-listp target)

% ant dist
Buildfile: build.xml

init:
    [mkdir] Created dir: c:\u\home\view\jde\build

prepare-lisp-build:
    [mkdir] Created dir: c:\u\home\view\jde\build\lisp

configure:
    [mkdir] Created dir: c:\u\home\view\jde\build\config
[propertyfile] Creating new property file: c:\u\home\view\jde\build.properties

configure-ebuild:
     [copy] Copying 51 files to c:\u\home\view\jde\build\lisp
     [copy] Copying 1 file to c:\u\home\view\jde\build\config

build-lisp:
     [exec] Generating autoloads for beanshell.el...

...

     [exec] Compiling c:/u/home/view/jde/build/lisp/regress.el...
     [exec] Wrote c:/u/home/view/jde/build/lisp/regress.elc
     [exec] Compiling c:/u/home/view/jde/build/lisp/setnu.el...

...

     [exec] Wrote c:/u/home/view/jde/build/lisp/which.elc
     [exec] Done (Total of 36 files compiled, 16 failed)

build-java:
    [mkdir] Created dir: c:\u\home\view\jde\build\classes
    [javac] Compiling 153 source files to c:\u\home\view\jde\build\classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

build:

dist:
    [mkdir] Created dir: c:\u\home\view\jde\dist\lisp
     [copy] Copying 88 files to c:\u\home\view\jde\dist\lisp
    [mkdir] Created dir: c:\u\home\view\jde\dist\java\lib
     [copy] Copying 7 files to c:\u\home\view\jde\dist\java\lib
    [mkdir] Created dir: c:\u\home\view\jde\dist\java\src
     [copy] Copying 159 files to c:\u\home\view\jde\dist\java\src
    [mkdir] Created dir: c:\u\home\view\jde\dist\doc\html
     [copy] Copying 65 files to c:\u\home\view\jde\dist\doc\html
      [jar] Building jar: c:\u\home\view\jde\dist\java\lib\jde.jar

BUILD SUCCESSFUL
Total time: 16 seconds





Vincent Belaïche writes:
 > Dear Len and others,
 > 
 > I tried to make the build as you recommended to me, but it does not seem
 > to work for me. Certainly the build.xml is fine for Linux users, but not
 > for MSWindows users.
 > 
 > Here is what happen if I build from a MSDOS console and from an
 > MSYS/bash console:
 > 
 > MSDOS (I replace an ESC character by the sequence ^^[)
 > ---8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--
 > d:\Programme\GNU\emacs-extension\jde>ant dist
 > ant dist
 > Buildfile: build.xml
 > 
 > init:
 > 
 > prepare-lisp-build:
 > 
 > configure:
 > 
 > configure-ebuild:
 > 
 > build-lisp:
 >      [exec] Doesn't exist or not a directory: 
 > d:/ProgrammeGNU^^[macs-extensionjduildlisp
 > 
 > BUILD FAILED
 > d:\Programme\GNU\emacs-extension\jde\build.xml:143: exec returned: -1
 > 
 > Total time: 6 seconds
 > ---8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--
 > 
 > MSYS/bash
 > ---8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--
 > /d/Programme/GNU/emacs-extension/jde>ant dist
 > /d/Programme/apache-ant-1.7.1/bin/ant: 
 > /d/Programme/GNU/emacs-extension/jde/d:\Programme\Java\jdk1.6.0_11/jre/bin/java:
 >  No such file or directory
 > /d/Programme/apache-ant-1.7.1/bin/ant: exec: 
 > /d/Programme/GNU/emacs-extension/jde/d:\Programme\Java\jdk1.6.0_11/jre/bin/java:
 >  cannot execute: No such file or directory
 > /d/Programme/GNU/emacs-extension/jde>
 > ---8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--
 > 
 > > Date: Thu, 30 Jul 2009 17:57:44 +1200
 > > From: [email protected]
 > > To: [email protected]
 > > CC: [email protected]; [email protected]
 > > Subject: Re: [jdee-users] jdb filter cannot interpret line numbers >= 1000
 > > 
 > > Vincent Belaïche wrote:
 > > > I made again the experiment ... [SNIP]
 > > 
 > > When I run JDEE from the svn sandbox (which for me lives in
 > > ~/lib/lisp-packages/jdee-2.4.0-branch/), I build using:
 > > 
 > > ant dist
 > > 
 > > which places the compiled lisp and jarfiles under the dist
 > > subdirectory. JDEE is hooked into emacs in my init.el via:
 > > 
 > > (add-to-list 'load-path "~/lib/lisp-packages/jdee-2.4.0-branch/dist/lisp")
 > > 
 > > 
 > > Cheers,
 > > Len.
 > 
 > ------------------------------------------------------------------------------
 > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 > trial. Simplify your report design, integration and deployment - and focus 
 > on 
 > what you do best, core application coding. Discover what's new with 
 > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 > _______________________________________________
 > jdee-users mailing list
 > [email protected]
 > https://lists.sourceforge.net/lists/listinfo/jdee-users


-- 
Paul Landes
[email protected]

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users

Reply via email to