Bonjour tout le monde,
J'utilise Hudson pour faire de l'intégration continue, avec un petit script Ant qui tourne derrière pour récupérer le code de la conf, compiler, faire les tests unitaire, faire un Jar éxécutable, faire un jar d'installation éxécutable avec IzPack et enfin, packager ce dernier Jar dans un exe pour nos clients Microsoftiens.
Tout marcher très bien jusqu'à ceci sur mon trunk. Le même script marche très bien sur une branche de ce même projet, mais rien à faire avec le tronc. J'ai même essayer de le recréer en copiant la branche qui marche, rien n'y fait, j'ai toujours JSmooth qui plante avec une OutOfMemoryError exception (ci-dessous).
Est-ce que par hasard quelqu'un aurait déjà rencontré ce genre de problème et aurait une solution pour y remédier (PS : Même si vous n'avez pas rencontré le problème, je suis preneur de la solution ).
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 java.lang.OutOfMemoryError: Java heap space at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:39) at java.nio.ByteBuffer.allocate(ByteBuffer.java:312) at net.charabia.jsmoothgen.pe.PEResourceDirectory.buildResource(PEResourceDirectory.java:582) at net.charabia.jsmoothgen.pe.PEFile.dumpTo(PEFile.java:323) at net.charabia.jsmoothgen.application.ExeCompiler.compile(ExeCompiler.java:187) at net.charabia.jsmoothgen.ant.JSmoothGen.execute(JSmoothGen.java:133) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.Main.runBuild(Main.java:758) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
J'ai pensé que vous pourriez aussi avoir envie de voir mon script JSmooth :Par avance, Merci,
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53 <?xml version="1.0" encoding="ISO-8859-1"?> <jsmoothproject> <JVMSearchPath>registry</JVMSearchPath> <JVMSearchPath>javahome</JVMSearchPath> <JVMSearchPath>jrepath</JVMSearchPath> <JVMSearchPath>jdkpath</JVMSearchPath> <JVMSearchPath>exepath</JVMSearchPath> <JVMSearchPath>jview</JVMSearchPath> <currentDirectory>${EXECUTABLEPATH}</currentDirectory> <embeddedJar>true</embeddedJar> <executableName>bin\MaPPS3b3.exe</executableName> <iconLocation>..\resources\mappsIcon_128.png</iconLocation> <initialMemoryHeap>268435456</initialMemoryHeap> <jarLocation>MaPPS3b3.jar</jarLocation> <javaProperties> <name>-Jmaxheap</name> <value>256M</value> </javaProperties> <javaProperties> <name>-Jinitialheap</name> <value>256M</value> </javaProperties> <mainClassName>com.izforge.izpack.installer.Installer</mainClassName> <maximumMemoryHeap>268435456</maximumMemoryHeap> <maximumVersion></maximumVersion> <minimumVersion>1.5</minimumVersion> <skeletonName>Custom Web Download Wrapper</skeletonName> <skeletonProperties> <key>Message</key> <value>Java has not been found on your computer. Do you want to install it? In order to complete the Java installation, you will need to restart that installer.</value> </skeletonProperties> <skeletonProperties> <key>DownloadURL</key> <value>file://./bin/jre-1_5_0-windows-i586.exe</value> </skeletonProperties> <skeletonProperties> <key>SingleProcess</key> <value>1</value> </skeletonProperties> <skeletonProperties> <key>SingleInstance</key> <value>1</value> </skeletonProperties> <skeletonProperties> <key>JniSmooth</key> <value>0</value> </skeletonProperties> <skeletonProperties> <key>Debug</key> <value>0</value> </skeletonProperties> </jsmoothproject>
Pouce.
Partager