[jira] Created: (JIBX-338) Precompiled classes not accessible while compiling

View: New views
2 Messages — Rating Filter:   Alert me  

[jira] Created: (JIBX-338) Precompiled classes not accessible while compiling

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Precompiled classes not accessible while compiling
---------------------------------------------------

                 Key: JIBX-338
                 URL: http://jira.codehaus.org/browse/JIBX-338
             Project: JiBX
          Issue Type: Test
          Components: eclipse-plugin
    Affects Versions: JiBX 1.2.1
         Environment: Maven ,JiBX 1.2.1
            Reporter: bavani madangopal


Assume two projects A and B are interdependent.

Say a project A has a first-binding.xml as below:

binding xmlns:tns="http://url">
<namespace uri="http://url" prefix="tns" />
<mapping abstract="true" type-name="tns:First" class="projectA.dto.FirstDTO">
<value style="attribute" name="identifier" field="identifier" usage="optional"/>
 </mapping>    
</binding>

Say a project B has a binding.xml as below:

binding xmlns:tns="http://url">
<namespace uri="http://url" prefix="tns" />
<include path="first-binding.xml" />
<mapping abstract="true" type-name="tns:First" class="projectB.dto.SecondDTO">
<value style="attribute" name="identifier" field="identifier" usage="optional"/>
 </mapping>    
</binding>

Once I have successfully built Project A and then when I try to compile Project B.

The following build error:
Internal error - cannot modify class projectA.common.dto.FirstDTO loaded from D:\repo\bundles\base\common\1.0common-base-1.0.jar

Please advice.





--
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

       

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
jibx-devs mailing list
jibx-devs@...
https://lists.sourceforge.net/lists/listinfo/jibx-devs

[jira] Resolved: (JIBX-338) Precompiled classes not accessible while compiling

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/JIBX-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

bavani madangopal resolved JIBX-338.
------------------------------------

    Resolution: Incomplete

> Precompiled classes not accessible while compiling
> ---------------------------------------------------
>
>                 Key: JIBX-338
>                 URL: http://jira.codehaus.org/browse/JIBX-338
>             Project: JiBX
>          Issue Type: Test
>          Components: eclipse-plugin
>    Affects Versions: JiBX 1.2.1
>         Environment: Maven ,JiBX 1.2.1
>            Reporter: bavani madangopal
>
> Assume two projects A and B are interdependent.
> Say a project A has a first-binding.xml as below:
> binding xmlns:tns="http://url">
> <namespace uri="http://url" prefix="tns" />
> <mapping abstract="true" type-name="tns:First" class="projectA.dto.FirstDTO">
> <value style="attribute" name="identifier" field="identifier" usage="optional"/>
>  </mapping>    
> </binding>
> Say a project B has a binding.xml as below:
> binding xmlns:tns="http://url">
> <namespace uri="http://url" prefix="tns" />
> <include path="first-binding.xml" />
> <mapping abstract="true" type-name="tns:First" class="projectB.dto.SecondDTO">
> <value style="attribute" name="identifier" field="identifier" usage="optional"/>
>  </mapping>    
> </binding>
> Once I have successfully built Project A and then when I try to compile Project B.
> The following build error:
> Internal error - cannot modify class projectA.common.dto.FirstDTO loaded from D:\repo\bundles\base\common\1.0common-base-1.0.jar
> Please advice.

--
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

       

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
jibx-devs mailing list
jibx-devs@...
https://lists.sourceforge.net/lists/listinfo/jibx-devs