Kimbro Staken wrote:

On Thursday, March 14, 2002, at 01:46 PM, Gianugo Rabellino wrote:

Kimbro Staken wrote:

1.0 test builds are on the server. Let me know if you see any issues.



Kimbro,

you might want to change line 139 of build.xml to:

   - <delete file="${jar.dir}/${jarname}.jar" failonerror="false"/>
   + <delete file="${jar.dir}/${jarname}.jar" failonerror="false"/>


Those both look the same to me, what am I missing?

Yeah... sorry. It should have read:

>>    - <delete file="${jar.dir}/${jarname}.jar"/>
>>    + <delete file="${jar.dir}/${jarname}.jar" failonerror="false"/>

Bad copy 'n paste.


so that build works out of the box. Since right after downloading there is no xindice.jar (yet ;)) Ant chokes saying that it's unable to delete it.


What do you mean xindice.jar doesn't exist? It's in the download.

Ouch. True, but there is some kind of problem. I freshly unzipped the release and that's what I get:


$ ./build.bat

Xindice Build System
--------------------

Building with classpath C:\j2sdk1.4.0\lib\tools.jar;.\java\lib\ant-1.4.1.jar;.\j
ava\lib\examples.jar;.\java\lib\infozone-tools.jar;.\java\lib\openorb-1.2.0.jar;
.\java\lib\openorb_tools-1.2.0.jar;.\java\lib\xalan-2.0.1.jar;.\java\lib\xerces-
1.4.3.jar;.\java\lib\xindice.jar;.\java\lib\xml-apis-1.0.jar;.\java\lib\xmldb-sd
k.jar;.\java\lib\xmldb-xupdate.jar;.\java\lib\xmldb.jar


Starting Ant...
Buildfile: build.xml

init:

idl:

prepare:
    [mkdir] Created dir: C:\java\src\xml-xindice-1.0\java\classes

clean-jar:
   [delete] Deleting: C:\java\src\xml-xindice-1.0\java\lib\xindice.jar

BUILD FAILED

c:\java\src\xml-xindice-1.0\build.xml:139: Unable to delete file C:\java\src\xml-xindice-1.0\java\lib\xindice.jar

Total time: 1 second

Needless to say, xindice.jar is there (this is Cygwin and no, there are no file rights problems). Dos prompt, anyway, dies in the same way:

$ ls -l java/lib/xindice.jar
-rw-r--r--    1 Administ Nessuno    589139 Mar 13 22:47 java/lib/xindice.jar


Time to investigate...

Ciao,

--
Gianugo



Reply via email to