[
http://jira.codehaus.org/browse/JIBX-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240442#action_240442
]
Miguel Almeida commented on JIBX-407:
-------------------------------------
Thank you for the explanation Don.
I was able to make it work by running the goal in the parent project, like you
said.
The only thing that is not clear for me is the meaning of PROJECT and
DISTRIBUTION in your explanation.
Is PROJECT the eclipse project, ie, the file structure with
src/main/resources+java, and DISTRIBUTION the compiled version - the .jar file
or, in case you're working in Eclipse, the /target folder of the project?
Also, is there a way to improve the modes.html page of the documentation to
explain this part a bit better, perhaps with more detailed examples (such as
this one)?
I suggest this because I read the documentation several times and couldn't
figure out how to fit the explanation in my use case.
If you agree, this ticket can be changed into a feature request for
documentation enhancement.
Regards,
Miguel
> multi-modules not being detected with maven-jibx-plugin in Eclipse
> ------------------------------------------------------------------
>
> Key: JIBX-407
> URL: http://jira.codehaus.org/browse/JIBX-407
> Project: JiBX
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: JiBX 1.2.2
> Environment: Linux
> Eclipse Helios
> Reporter: Miguel Almeida
> Assignee: Don Corley
> Attachments: testCase.zip
>
>
> The project structure is:
> projectA:
> |module1
> |module2
> module1 - database classes
> module2 - services (depends on projectA, maven speaking).
> Test case:
> - jibx plugin configured in Module2
> - person-binding.xml in src/main/resources/jibx of Module1
> - Class Person in Module1
> - Plugin configured like:
> <modules>
>
> <module>org.projects:module1</module>
> </modules>
>
> <directory>src/main/resources/jibx</directory>
> <includes>
> <include>*-binding.xml</include>
> - Run the jibx-bind goal in Module2
> Expected result:
> Jibx would pick the -binding file in Module1, because the configuration has a
> reference to it
> Actual result:
> [INFO] Not running JiBX binding compiler (restricted multi-module mode) - no
> binding files
> I attach a sample case. It consists of the Eclipse projects referenced here.
> To check the behavior:
> - Put the projects in a workspace
> - Run the jibx:bind goal in Eclipse on Module2.
--
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
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs