This mailing list is not the location
for these types of discussions.
Please ask user questions on the
news.eclipse.org mailing lists (eclipse.platform).
That said, I have not seen your
problem.
If not, in the newsgroup please provide which version of Eclipse you
are using, which version of Ant and, if possible, a sample buildfile that
reproduces the different behavior that you are seeing from the commandline and
within Eclipse. Please ensure that you are using the same version of Ant both in
and out of Eclipse (specify -version as a program argument)
Thanks
Darins
----- Original Message -----
Sent: Tuesday, August 24, 2004 3:43
AM
Subject: [platform-ant-dev] build fails
with ant
Hi!
I have started to use Eclipse
and the end goal is to make it a common platform for my team.
But, early on
I have run into trouble with the build.
We have a build script which works
fine standalone but with Eclipse it runs aground.
Any help is greatly
appreciated.
/home/test/build/build.xml:39: Error while expanding
/home/test/build_tools/conf/ClassTemplate.vtl
at
org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:132)
at
org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:108)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at
org.apache.tools.ant.Target.execute(Target.java:301)
at
org.apache.tools.ant.Target.performTasks(Target.java:328)
at
org.apache.tools.ant.Project.executeTarget(Project.java:1215)
at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:379)
at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:135)
Caused
by: java.io.IOException: Negative seek offset
at
java.io.RandomAccessFile.seek(Native Method)
at
org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:359)
at
org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:237)
at
org.apache.tools.zip.ZipFile.<init>(ZipFile.java:143)
at
org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:121)
... 8 more
--- Nested Exception ---
java.io.IOException: Negative seek
offset
at java.io.RandomAccessFile.seek(Native
Method)
at
org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:359)
at
org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:237)
at
org.apache.tools.zip.ZipFile.<init>(ZipFile.java:143)
at
org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:121)
at
org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:108)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at
org.apache.tools.ant.Target.execute(Target.java:301)
at
org.apache.tools.ant.Target.performTasks(Target.java:328)
at
org.apache.tools.ant.Project.executeTarget(Project.java:1215)
at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:379)
at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:135)
Thanks,
Richie
--
"You are what you repeatedly do. Excellence is not an event - it is a
habit."