You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WOCompile ant task creates classpath files by including jars from APPROOT/Resources/Java/ in alphabetical order but it should check if in Eclipse a specific ordering has been set and reorder the entries accordingly.
Problem is if you include a lib with a name lower than the project's name but in your source files you overwrite one of its classes it will be ordered below the lib resulting in the wrong class getting loaded. One workaround is to put that lib into a separate framework and include that one to the project.
Solutions would be:
easy: always move the project jar file up so it is the first classpath entry
more work but better: read the file .classpath if present and order all application jars accordingly
The text was updated successfully, but these errors were encountered:
The WOCompile ant task creates classpath files by including jars from APPROOT/Resources/Java/ in alphabetical order but it should check if in Eclipse a specific ordering has been set and reorder the entries accordingly.
Problem is if you include a lib with a name lower than the project's name but in your source files you overwrite one of its classes it will be ordered below the lib resulting in the wrong class getting loaded. One workaround is to put that lib into a separate framework and include that one to the project.
Solutions would be:
The text was updated successfully, but these errors were encountered: