Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0020878 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
design defect | [Openbravo ERP] A. Platform | major | have not tried | 2012-06-27 11:24 | 2012-09-24 12:33 | |||||||
Reporter | mtaal | View Status | public | |||||||||
Assigned To | marvintm | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
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 | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | XmlSchema-LICENSE.txt [^] (11,358 bytes) 2012-06-27 11:24 [Show Content] | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0052320) AugustoMauch (administrator) 2012-09-24 12:33 |
Effort: 1 Impact: low Plan: short |
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 |
Copyright © 2000 - 2009 MantisBT Group |