Classpath is not build correctly
--------------------------------

                 Key: JIBX-268
                 URL: http://jira.codehaus.org/browse/JIBX-268
             Project: JiBX
          Issue Type: Bug
          Components: eclipse-plugin
         Environment: Windows
            Reporter: David Newcomb
             Fix For: JiBX 1.1.6


When you have multiple source folders with different (class) output folders the 
classpath is not build correctly.

For example in the following .classpath file there are 2 src folders with an 
output folder of "target/classes" and "target/classes-test". There is also the 
(default) project level output folder called "bin".

When the JiBX plugin is run it only includes the project level output folder 
("bin") in the classpath (which is displayed in verbose mode) and ignores your 
other output folders.

If you have specified a <format> type serializer pointing to a class, the 
compiler won't find it and you will get CNF exceptions.


<?xml version="1.0" encoding="UTF-8"?>
<classpath>
        <classpathentry kind="src" output="target/classes" 
path="src/main/java"/>
        <classpathentry kind="src" output="target/classes-test" 
path="src/test/java"/>
        <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/latest"/>
        <classpathentry kind="con" 
path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache
 Tomcat v6.0"/>
        <classpathentry kind="con" 
path="org.eclipse.jst.j2ee.internal.web.container"/>
        <classpathentry kind="con" 
path="org.eclipse.jst.j2ee.internal.module.container"/>
        <classpathentry kind="con" 
path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
        <classpathentry kind="output" path="bin"/>
</classpath>

As a work around, we changed our default project level output folder to be the 
same as our main src folder, but really the plugin should have done this for me.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to