Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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."

Back to the top