From: | Ned Wolpert <ned(dot)wolpert(at)knowledgenet(dot)com> |
---|---|
To: | Gunnar Rønning <gunnar(at)polygnosis(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org, Dave Cramer <Dave(at)micro-automation(dot)net>, Peter Eisentraut <peter_e(at)gmx(dot)net> |
Subject: | Re: [PATCHES] Ant configuration |
Date: | 2001-10-22 17:48:33 |
Message-ID: | XFMail.20011022104833.ned.wolpert@knowledgenet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc pgsql-patches |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 20-Oct-2001 Gunnar Rnning wrote:
>| * Ant doesn't provide an exit status; you have to watch the build to see
>| if it works. This is unacceptable.
>
> Hmm. Anybody with a solution here ?
Actuall, it does.
Example:
[wolpert(at)wolpert configTest]$ ant build
Buildfile: build.xml
prepare:
build:
BUILD SUCCESSFUL
Total time: 2 seconds
[wolpert(at)wolpert configTest]$ echo $?
0
[wolpert(at)wolpert configTest]$ ant build
Buildfile: build.xml
prepare:
build:
[javac] Compiling 1 source file to /home/wolpert/test/configTest/classes
[javac] /home/wolpert/test/configTest/src/GetAll.java:25: ';' expected
[javac] jdo.setDatabaseName("configTest");
[javac] ^
[javac] /home/wolpert/test/configTest/src/GetAll.java:24: cannot resolve
symbol
[javac] symbol : class fds
[javac] location: class GetAll
[javac] jdo.setConfiguration("/database.xml");fds
[javac] ^
[javac] /home/wolpert/test/configTest/src/GetAll.java:25: jdo is already
defined in getDatabase()
[javac] jdo.setDatabaseName("configTest");
[javac] ^
[javac] 3 errors
BUILD FAILED
/home/wolpert/test/configTest/build.xml:35: Compile failed, messages should
have been provided.
Total time: 4 seconds
[wolpert(at)wolpert configTest]$ echo $?
1
[wolpert(at)wolpert configTest]$
Virtually,
Ned Wolpert <ned(dot)wolpert(at)knowledgenet(dot)com>
D08C2F45: 28E7 56CB 58AC C622 5A51 3C42 8B2B 2739 D08C 2F45
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE71FvwiysnOdCML0URAqiRAJ4g8TL2aY9fAj25JzOw+mabnBG8PACggEOK
xQOWn7giK++ZRDAsfyDtzsE=
=M4Ld
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Ned Wolpert | 2001-10-22 17:50:54 | Re: Whatever ... JDBC build patch |
Previous Message | Peter Eisentraut | 2001-10-21 19:29:23 | Re: Ant installation (and other) issues! |
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Lillywhite (pg-jdbc) | 2001-10-23 09:01:41 | JDBC issues for JDK1.4 |
Previous Message | Sergey Chumakov | 2001-10-22 15:18:15 | libpq(win32) s/errno/WSAGetLastError()/ |