Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0020878 | Openbravo ERP | A. Platform | public | 2012-06-27 11:24 | 2012-09-24 12:33 |
Reporter | mtaal | ||||
Assigned To | marvintm | ||||
Priority | high | Severity | major | Reproducibility | have not tried |
Status | scheduled | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0020878: Having txt file in lib/runtime in a module shows error in install.source | ||||
Description | When doing install.source and having a txt file in the lib/runtime of a module results in an exception (see below). Probably a filter has to be used to only consider jar/zip files and ignore other (license) files. at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Unable to obtain resource from /home/mtaal/mydata/dev/openbravo/projects/performance/customers/ice/pi/modules/com.tds.openbravo.shipmentintegration/lib/runtime/XmlSchema-LICENSE.txt: java.util.zip.ZipException: error in opening zip file [taskdef] Unable to obtain resource from /home/mtaal/mydata/dev/openbravo/projects/performance/customers/ice/pi/modules/com.tds.openbravo.shipmentintegration/lib/runtime/XmlSchema-LICENSE.txt: [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:127) [taskdef] at java.util.jar.JarFile.<init>(JarFile.java:135) [taskdef] at java.util.jar.JarFile.<init>(JarFile.java:99) [taskdef] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:1002) [taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findNextResource(AntClassLoader.java:145) [taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.nextElement(AntClassLoader.java:130) [taskdef] at org.apache.tools.ant.util.CollectionUtils$CompoundEnumeration.nextElement(CollectionUtils.java:241) [taskdef] at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:271) [taskdef] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [taskdef] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [taskdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [taskdef] at java.lang.reflect.Method.invoke(Method.java:597) [taskdef] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [taskdef] at org.apache.tools.ant.Task.perform(Task.java:348) [taskdef] at org.apache.tools.ant.Target.execute(Target.java:390) [taskdef] at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:180) [taskdef] at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:82) [taskdef] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:393) [taskdef] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105) [taskdef] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [taskdef] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [taskdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [taskdef] at java.lang.reflect.Method.invoke(Method.java:597) [taskdef] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [taskdef] at org.apache.tools.ant.Task.perform(Task.java:348) [taskdef] at org.apache.tools.ant.Target.execute(Target.java:390) [taskdef] at org.apache.tools.ant.Target.performTasks(Target.java:411) [taskdef] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [taskdef] at org.apache.tools.ant.Project.executeTarget(Project.java:1368) [taskdef] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [taskdef] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [taskdef] at org.apache.tools.ant.Main.runBuild(Main.java:809) [taskdef] at org.apache.tools.ant.Main.startAnt(Main.java:217) [taskdef] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) [taskdef] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) | ||||
Steps To Reproduce | add a txt file (see attached) to lib/runtime in a module and do install.source | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | XmlSchema-LICENSE.txt (11,358) 2012-06-27 11:24 https://issues.openbravo.com/file_download.php?file_id=5333&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-06-27 11:24 | mtaal | New Issue | |||
2012-06-27 11:24 | mtaal | Assigned To | => marvintm | ||
2012-06-27 11:24 | mtaal | File Added: XmlSchema-LICENSE.txt | |||
2012-06-27 11:24 | mtaal | Modules | => Core | ||
2012-06-27 18:17 | marvintm | Target Version | 3.0MP13 => | ||
2012-07-12 12:23 | alostale | Type | defect => design defect | ||
2012-09-24 12:33 | AugustoMauch | Note Added: 0052320 | |||
2012-09-24 12:33 | AugustoMauch | Priority | normal => high | ||
2012-09-24 12:33 | AugustoMauch | Status | new => scheduled |
Notes | |||||
|
|||||
|
|