View Full Version : Build problem
Patrick Vanhuyse
Jan 26th, 2006, 04:20 AM
I downloaded springmodules from CVS.
When I run build alljars, the springmodules-cache-dev-xxxxxxxx.jar contains only the manifest ! And this is the one I need !
Any idea ?
Thanks
Costin Leau
Jan 26th, 2006, 03:54 PM
Spring modules is going through a structure infrastructure - moving away from its own ant configuration to spring common build. You can find the project moves inside projects directory. Do a ant build and you should be set. If everything goes according to plan a new public release will be made in the near future.
Patrick Vanhuyse
Jan 27th, 2006, 04:12 AM
I have tried to build cache in the projects\cache folder.
I get the following errors when doing this :
<QUOTE>
Buildfile: build.xml
force.env.load:
init.cl.external.props:
init.env.external.props:
init.pre:
[echo] project.name = "springmodules-cache"
[echo] project.version = "1.0-rc1-20060127110010"
[echo] ant.file = "T:\Users\Vanhuyse\springframework\springmodules\pr ojects
\cache\build.xml"
[echo] basedir = "T:\Users\Vanhuyse\springframework\springmodules\pr ojects\
cache"
[echo] user.dir = "T:\Users\Vanhuyse\springframework\springmodules\pr ojects
\cache"
[echo] ant.java.version = "1.5"
[echo] debug = "true"
[echo] optimize = "false"
[echo] javac.source = "1.3"
[echo] javac.target = "1.3"
[echo] target.appserver = "${target.appserver}"
[echo] unit test vm: vm arg="-DzzzDummyVal"
eclipse.configure:
...
gen.main:
[echo] compiling metadata attributes
[taskdef] java.util.zip.ZipException: error in opening zip file
[taskdef] at java.util.zip.ZipFile.open(Native Method)
[taskdef] at java.util.zip.ZipFile.<init>(ZipFile.java:204)
[taskdef] at java.util.zip.ZipFile.<init>(ZipFile.java:235)
[taskdef] at org.apache.tools.ant.AntClassLoader.getResourceURL (AntClassLo
ader.java:919)
[taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumer ation.findN
extResource(AntClassLoader.java:126)
[taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumer ation.nextE
lement(AntClassLoader.java:109)
[taskdef] at org.apache.tools.ant.util.CollectionUtils$Compound Enumeration
.nextElement(CollectionUtils.java:146)
[taskdef] at sun.misc.CompoundEnumeration.nextElement(CompoundE numeration.
java:43)
[taskdef] at org.apache.tools.ant.taskdefs.Definer.execute(Defi ner.java:21
5)
[taskdef] at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.ja
va:275)
[taskdef] at org.apache.tools.ant.Task.perform(Task.java:364)
[taskdef] at org.apache.tools.ant.Target.execute(Target.java:34 1)
[taskdef] at org.apache.tools.ant.Target.performTasks(Target.ja va:369)
[taskdef] at org.apache.tools.ant.Project.executeSortedTargets( Project.jav
a:1216)
[taskdef] at org.apache.tools.ant.Project.executeTarget(Project .java:1185)
[taskdef] at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(De
faultExecutor.java:40)
[taskdef] at org.apache.tools.ant.Project.executeTargets(Projec t.java:1068
)
[taskdef] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[taskdef] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[taskdef] at org.apache.tools.ant.launch.Launcher.run(Launcher. java:246)
[taskdef] at org.apache.tools.ant.launch.Launcher.main(Launcher .java:67)
[taskdef] java.util.zip.ZipException: error in opening zip file
[taskdef] at java.util.zip.ZipFile.open(Native Method)
[taskdef] at java.util.zip.ZipFile.<init>(ZipFile.java:204)
[taskdef] at java.util.zip.ZipFile.<init>(ZipFile.java:235)
[taskdef] at org.apache.tools.ant.AntClassLoader.getResourceURL (AntClassLo
ader.java:919)
[taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumer ation.findN
extResource(AntClassLoader.java:126)
[taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumer ation.nextE
lement(AntClassLoader.java:109)
[taskdef] at org.apache.tools.ant.util.CollectionUtils$Compound Enumeration
.nextElement(CollectionUtils.java:146)
[taskdef] at sun.misc.CompoundEnumeration.nextElement(CompoundE numeration.
java:43)
[taskdef] at org.apache.tools.ant.taskdefs.Definer.execute(Defi ner.java:21
5)
[taskdef] at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.ja
va:275)
[taskdef] at org.apache.tools.ant.Task.perform(Task.java:364)
[taskdef] at org.apache.tools.ant.Target.execute(Target.java:34 1)
[taskdef] at org.apache.tools.ant.Target.performTasks(Target.ja va:369)
[taskdef] at org.apache.tools.ant.Project.executeSortedTargets( Project.jav
a:1216)
[taskdef] at org.apache.tools.ant.Project.executeTarget(Project .java:1185)
[taskdef] at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(De
faultExecutor.java:40)
[taskdef] at org.apache.tools.ant.Project.executeTargets(Projec t.java:1068
)
[taskdef] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[taskdef] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[taskdef] at org.apache.tools.ant.launch.Launcher.run(Launcher. java:246)
[taskdef] at org.apache.tools.ant.launch.Launcher.main(Launcher .java:67)
[taskdef] java.util.zip.ZipException: error in opening zip file
[taskdef] at java.util.zip.ZipFile.open(Native Method)
[taskdef] at java.util.zip.ZipFile.<init>(ZipFile.java:204)
[taskdef] at java.util.zip.ZipFile.<init>(ZipFile.java:235)
[taskdef] at org.apache.tools.ant.AntClassLoader.getResourceURL (AntClassLo
ader.java:919)
[taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumer ation.findN
extResource(AntClassLoader.java:126)
[taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumer ation.nextE
lement(AntClassLoader.java:109)
[taskdef] at org.apache.tools.ant.util.CollectionUtils$Compound Enumeration
.nextElement(CollectionUtils.java:146)
[taskdef] at sun.misc.CompoundEnumeration.nextElement(CompoundE numeration.
java:43)
[taskdef] at org.apache.tools.ant.taskdefs.Definer.execute(Defi ner.java:21
5)
[taskdef] at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.ja
va:275)
[taskdef] at org.apache.tools.ant.Task.perform(Task.java:364)
[taskdef] at org.apache.tools.ant.Target.execute(Target.java:34 1)
[taskdef] at org.apache.tools.ant.Target.performTasks(Target.ja va:369)
[taskdef] at org.apache.tools.ant.Project.executeSortedTargets( Project.jav
a:1216)
[taskdef] at org.apache.tools.ant.Project.executeTarget(Project .java:1185)
[taskdef] at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(De
faultExecutor.java:40)
[taskdef] at org.apache.tools.ant.Project.executeTargets(Projec t.java:1068
)
[taskdef] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[taskdef] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[taskdef] at org.apache.tools.ant.launch.Launcher.run(Launcher. java:246)
[taskdef] at org.apache.tools.ant.launch.Launcher.main(Launcher .java:67)
[taskdef] java.util.zip.ZipException: error in opening zip file
[taskdef] at java.util.zip.ZipFile.open(Native Method)
[taskdef] at java.util.zip.ZipFile.<init>(ZipFile.java:204)
[taskdef] at java.util.zip.ZipFile.<init>(ZipFile.java:235)
[taskdef] at org.apache.tools.ant.AntClassLoader.getResourceURL (AntClassLo
ader.java:919)
[taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumer ation.findN
extResource(AntClassLoader.java:126)
[taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumer ation.nextE
lement(AntClassLoader.java:109)
[taskdef] at org.apache.tools.ant.util.CollectionUtils$Compound Enumeration
.nextElement(CollectionUtils.java:146)
[taskdef] at sun.misc.CompoundEnumeration.nextElement(CompoundE numeration.
java:43)
[taskdef] at org.apache.tools.ant.taskdefs.Definer.execute(Defi ner.java:21
5)
[taskdef] at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.ja
va:275)
[taskdef] at org.apache.tools.ant.Task.perform(Task.java:364)
[taskdef] at org.apache.tools.ant.Target.execute(Target.java:34 1)
[taskdef] at org.apache.tools.ant.Target.performTasks(Target.ja va:369)
[taskdef] at org.apache.tools.ant.Project.executeSortedTargets( Project.jav
a:1216)
[taskdef] at org.apache.tools.ant.Project.executeTarget(Project .java:1185)
[taskdef] at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(De
faultExecutor.java:40)
[taskdef] at org.apache.tools.ant.Project.executeTargets(Projec t.java:1068
)
[taskdef] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[taskdef] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[taskdef] at org.apache.tools.ant.launch.Launcher.run(Launcher. java:246)
[taskdef] at org.apache.tools.ant.launch.Launcher.main(Launcher .java:67)
[attribute-compiler] Generated attribute information for 0 classes. Ignored 0 cl
asses.
...
compile.source:
[echo] compiling main sources
[javac] Compiling 100 source files to T:\Users\Vanhuyse\springframework\spri
ngmodules\projects\cache\target\classes
[javac] error: error reading T:\Users\Vanhuyse\springframework\springmodules
\projects\cache\lib\global\spring-aop.jar; java.util.zip.ZipException: error in
opening zip file
[javac] T:\Users\Vanhuyse\springframework\springmodules\pr ojects\cache\src\j
ava\org\springmodules\cache\CacheException.java:20 : package org.springframework.
core does not exist
[javac] import org.springframework.core.NestedRuntimeException;
[javac] ^
[javac]
A lot of javac ERRORS ....
[javac] [javac] 100 errors
BUILD FAILED
T:\Users\Vanhuyse\springframework\springmodules\pr ojects\common-build\common-tar
gets.xml:516: Compile failed; see the compiler error output for details.
Total time: 2 minutes 27 seconds
<QUOTE>
When I type jar tvf spring-aop.jar, it works.
When I try to open spring-aop.jar with WinZIP, it doesn't work (with other jars, it works).
Same problem with spring-beans, spring-core and spring-support.
Costin Leau
Jan 28th, 2006, 12:24 PM
I think you have a local problem - I just did a CVS update, clean and build (28/01/2005) and everything worked. There was only one problem with ivy publishing but that doesn't affect the build itself.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.