Details
Description
When the Maven build is run locally the name of the resource within the ,.crossx file is different that when the .cross file is build with the Eclipse builder. Because of this CrossX does not recognize the fact that it is the same file and all information occurs double in CrossX.. As a result code generated for hibernate mappings and spring configuration files also have doubles in them.
Omschrijving
When the Maven build is run locally the name of the resource within the ,.crossx file is different that when the .cross file is build with the Eclipse builder. Because of this CrossX does not recognize the fact that it is the same file and all information occurs double in CrossX.. As a result code generated for hibernate mappings and spring configuration files also have doubles in them.
Jos Warmer [05/feb/09 04:08 PM]
Fixed, but needs to be tested under Linux
Jos Warmer [05/feb/09 04:08 PM]
Fixed, but needs to be tested under Linux
[ Permlink | Delete | « Verberg ]
Jos Warmer [05/feb/09 04:09 PM]
Gaarne testen
[ Toon » ]
Jos Warmer [05/feb/09 04:09 PM]
Gaarne testen
Johan Vogelzang [10/feb/09 09:02 AM]
Generation of sources and resources now ok. No doubles detected.
One issue remains: In the following resource paths you see that under Maven for the datacntract a slash is missing after "file:/".
Resource paths in the generated .crossx files under Maven and Eclipse:
Maven:
resource="file://home/johan/projects/mod4j-modules/Examples/RecordShop-ExampleProject/RecordShop-dslModels/src/model/businessDomain/model.busmod"
resource="file:/home/johan/projects/mod4j-modules/Examples/RecordShop-ExampleProject/RecordShop-dslModels/src/model/datacontract/datacontract.dtcmod"
resource="file://home/johan/projects/mod4j-modules/Examples/RecordShop-ExampleProject/RecordShop-dslModels/src/model/service/customer-services.sermod"
Eclipse:
resource="file:/home/johan/projects/mod4j-modules/Examples/RecordShop-ExampleProject/RecordShop-dslModels/src/model/businessDomain/model.busmod"
resource="file:/home/johan/projects/mod4j-modules/Examples/RecordShop-ExampleProject/RecordShop-dslModels/src/model/datacontract/datacontract.dtcmod"
resource="file:/home/johan/projects/mod4j-modules/Examples/RecordShop-ExampleProject/RecordShop-dslModels/src/model/service/customer-services.sermod"
Johan Vogelzang [10/feb/09 09:02 AM]
Generation of sources and resources now ok. No doubles detected. One issue remains: In the following resource paths you see that under Maven for the datacntract a slash is missing after "file:/". Resource paths in the generated .crossx files under Maven and Eclipse: Maven: resource="file://home/johan/projects/mod4j-modules/Examples/RecordShop-ExampleProject/RecordShop-dslModels/src/model/businessDomain/model.busmod" resource="file:/home/johan/projects/mod4j-modules/Examples/RecordShop-ExampleProject/RecordShop-dslModels/src/model/datacontract/datacontract.dtcmod" resource="file://home/johan/projects/mod4j-modules/Examples/RecordShop-ExampleProject/RecordShop-dslModels/src/model/service/customer-services.sermod" Eclipse: resource="file:/home/johan/projects/mod4j-modules/Examples/RecordShop-ExampleProject/RecordShop-dslModels/src/model/businessDomain/model.busmod" resource="file:/home/johan/projects/mod4j-modules/Examples/RecordShop-ExampleProject/RecordShop-dslModels/src/model/datacontract/datacontract.dtcmod" resource="file:/home/johan/projects/mod4j-modules/Examples/RecordShop-ExampleProject/RecordShop-dslModels/src/model/service/customer-services.sermod"
Jos Warmer [10/feb/09 10:31 AM]
Please test again (remove .crossx before starting)
Jos Warmer [10/feb/09 10:31 AM]
Please test again (remove .crossx before starting)
Johan Vogelzang [10/feb/09 10:15 PM]
ping...pong....
Issue with isEclipseSetup and isStandaloneSetup is solved. Now for StandAloneSetup no .crossx files are generated.
So you might reconsider your solution for chunking the path's (file:/...)
Johan Vogelzang [10/feb/09 10:15 PM]
ping...pong.... Issue with isEclipseSetup and isStandaloneSetup is solved. Now for StandAloneSetup no .crossx files are generated. So you might reconsider your solution for chunking the path's (file:/...)
Jos Warmer [10/feb/09 10:22 PM]
I will test whether it works under Windows as well
.
And remove the earlier fix if that isn't needed anymore
Jos Warmer [10/feb/09 10:22 PM]
I will test whether it works under Windows as well
. And remove the earlier fix if that isn't needed anymore
Jos Warmer [17/feb/09 10:01 AM]
Fixed, no crossx files generated by Maven. P{revious fix rolled back.
Done