Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006247
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagermajoralways2008-11-28 10:342009-05-25 11:59
ReporteriperdomoView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision10845
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.5.0_15
OS Version2.6.23-gentoo-r9Database versionXE - 10.2.0.1.0Ant version1.7.0
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006247: DBSM is compiled with jdk 1.6 instead of 1.5

DescriptionTrying to update my database I got:

ant database.lib
Buildfile: build.xml

init:

database.lib:

clean:
   [delete] Deleting directory /home/iperdomo/workspaces/branches/r2.40performance/openbravo/src-db/build/classes
   [delete] Deleting directory /home/iperdomo/workspaces/branches/r2.40performance/openbravo/src-db/build/lib
   [delete] Deleting directory /home/iperdomo/workspaces/branches/r2.40performance/openbravo/src-db/docs

init:
    [mkdir] Created dir: /home/iperdomo/workspaces/branches/r2.40performance/openbravo/src-db/build/classes
    [mkdir] Created dir: /home/iperdomo/workspaces/branches/r2.40performance/openbravo/src-db/build/lib
    [mkdir] Created dir: /home/iperdomo/workspaces/branches/r2.40performance/openbravo/src-db/docs

compile:
    [javac] Compiling 4 source files to /home/iperdomo/workspaces/branches/r2.40performance/openbravo/src-db/build/classes
    [javac] /home/iperdomo/workspaces/branches/r2.40performance/openbravo/src-db/src/com/openbravo/db/OpenbravoDataFilter.java:15: cannot access org.apache.ddlutils.io.AbstractDatabaseFilter
    [javac] bad class file: /home/iperdomo/workspaces/branches/r2.40performance/openbravo/src-db/database/lib/dbsourcemanager.jar(org/apache/ddlutils/io/AbstractDatabaseFilter.class)
    [javac] class file has wrong version 50.0, should be 49.0
    [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
    [javac] import org.apache.ddlutils.io.AbstractDatabaseFilter;
    [javac] ^
    [javac] 1 error

BUILD FAILED
/home/iperdomo/workspaces/branches/r2.40performance/openbravo/build.xml:229: The following error occurred while executing this line:
/home/iperdomo/workspaces/branches/r2.40performance/openbravo/src-db/build.xml:39: Compile failed; see the compiler error output for details.

Total time: 0 seconds
Tagsdbsm_migrate
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0010803)
svnbot (reporter)
2008-11-28 10:39

Repository: openbravo
Revision: 10729
Author: marvintm
Date: 2008-11-28 10:39:21 +0100 (Fri, 28 Nov 2008)

Fixed issue 6247. DBSourceManager is now compiled with Java 5

---
U branches/r2.40/src-db/database/lib/dbsourcemanager.jar
---

https://dev.openbravo.com/websvn/openbravo/?rev=10729&sc=1 [^]
(0010883)
svnbot (reporter)
2008-12-02 12:56

Repository: openbravo
Revision: 10845
Author: villind
Date: 2008-12-02 12:55:59 +0100 (Tue, 02 Dec 2008)

Merged r10729. Fixed issue 6247. DBSourceManager is now compiled with Java 5

---
_U branches/bonware/r2.40/
_U branches/bonware/r2.40/config/setup-tool/
_U branches/bonware/r2.40/eclipse.install.source.launch
_U branches/bonware/r2.40/export.database.launch
_U branches/bonware/r2.40/src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java
U branches/bonware/r2.40/src-db/database/lib/dbsourcemanager.jar
_U branches/bonware/r2.40/update.database.launch
---

https://dev.openbravo.com/websvn/openbravo/?rev=10845&sc=1 [^]
(0011826)
skoon (reporter)
2009-01-02 08:16

but same happens AGAIN in 2.50alpha-R4
(0011830)
iperdomo (reporter)
2009-01-02 09:09

@skoon:
If you are using 2.50 you must use sun jdk 1.6
This issue is related to 2.40 release, that should use 1.5

Cheers,

Iván
(0016616)
spradeepmadhankumar (reporter)
2009-05-25 11:38

hi,

even i use sun jdk 1.6 for 2.50 am getting the same error as given below.

Buildfile: F:\opws\openbravo\build.xml

init:

set.code.rev:

code.rev:

core.lib:

init:

compile:

build.jar:

build:

copy.core.lib:

create.database:

init:

database.lib:

init:

compile:
       [javac] Compiling 4 source files to F:\opws\openbravo\src-db\build\classes
       [javac] F:\opws\openbravo\src-db\src\com\openbravo\db\OpenbravoDataFilter.java:15: cannot access org.apache.ddlutils.io.AbstractDatabaseFilter
       [javac] bad class file: F:\opws\openbravo\src-db\database\lib\dbsourcemanager.jar(org/apache/ddlutils/io/AbstractDatabaseFilter.class)
       [javac] class file has wrong version 50.0, should be 49.0
       [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
       [javac] import org.apache.ddlutils.io.AbstractDatabaseFilter;
       [javac] ^
       [javac] 1 error

BUILD FAILED
F:\opws\openbravo\build.xml:473: The following error occurred while executing this line:
F:\opws\openbravo\build.xml:416: The following error occurred while executing this line:
F:\opws\openbravo\src-db\build.xml:42: Compile failed; see the compiler error output for details.

Total time: 8 seconds


can anyone come out with some solutions will be helpful for me. thanks.
(0016620)
iperdomo (reporter)
2009-05-25 11:59

@spradeepmadhankumar:

That is a problem related to 2.40 release not 2.50
2.50 must use jdk 1.6

If you have problems, please ask help in the forums.

Cheers,

Iván

- Issue History
Date Modified Username Field Change
2008-11-28 10:34 iperdomo New Issue
2008-11-28 10:38 iperdomo Status new => scheduled
2008-11-28 10:38 iperdomo fix_in_branch => trunk
2008-11-28 10:39 svnbot Checkin
2008-11-28 10:39 svnbot Note Added: 0010803
2008-11-28 10:39 svnbot Status scheduled => resolved
2008-11-28 10:39 svnbot Resolution open => fixed
2008-11-28 10:39 svnbot svn_revision => 10729
2008-11-28 12:54 jpabloae Assigned To => marvintm
2008-12-02 12:56 svnbot Checkin
2008-12-02 12:56 svnbot Note Added: 0010883
2008-12-02 12:56 svnbot svn_revision 10729 => 10845
2008-12-18 12:38 jpabloae Sticky Issue No => Yes
2008-12-18 12:39 jpabloae Sticky Issue Yes => No
2008-12-18 12:39 jpabloae Tag Attached: dbsm_migrate
2008-12-18 12:41 jpabloae Project @4@ => Openbravo ERP
2008-12-18 12:41 jpabloae Category => Y. DBSourceManager
2009-01-02 08:16 skoon Note Added: 0011826
2009-01-02 09:09 iperdomo Note Added: 0011830
2009-04-21 11:09 psarobe Status resolved => closed
2009-04-22 00:00 anonymous sf_bug_id 0 => 2777916
2009-05-25 11:38 spradeepmadhankumar Note Added: 0016616
2009-05-25 11:59 iperdomo Note Added: 0016620


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker