-
15. Re: SHRINKDESC-92
jesper.pedersen Nov 28, 2011 2:56 PM (in response to rbattenfeld)Lets get an alpha release out, so I can integrate it and try it out.
-
16. Re: SHRINKDESC-92
jesper.pedersen Jun 20, 2012 3:08 PM (in response to jesper.pedersen)Ok, coming back to this again.
What is the current status of this ? I can see that the metadata-parser have been split out, and there is a Maven Mojo. It is a matter of adding an Ant task definition too ? A metadata-parser-cli could work too.
I have been looking over our ShrinkWrap/Descriptors support in IronJacamar, and the next step would be for us to generate the Descriptors model for all our XSDs during our build. On a related note, the javaee artifact doesn't really serve our needs, since it includes all the Java EE techs. Easy solved, since we can just generate the JCA part in the same namespace as the javaee one. Ideally the artifact should be split into separate artifacts and maybe an overall one (like the current one).
-
17. Re: SHRINKDESC-92
rbattenfeld Jun 20, 2012 5:02 PM (in response to jesper.pedersen)It would be perfect if you could use the maven mojo. There is a lot ongoing in other tasks and I am not sure that we can support an Ant task as well in a reasonable time.
Besides of this, I think we made it as we agreed. You have full control about the descriptor artifacts. Please have a look at the shrinkwrap-descriptors-metadata-parser-test sub module. The pom already defines your ironjacamar descriptors for testing purposes. There should no restriction to include a similar declaration into your build process.
-
18. Re: SHRINKDESC-92
jesper.pedersen Jun 21, 2012 2:12 PM (in response to rbattenfeld)Yeah, that looks pretty good. I'll look into getting the Apache Ant stuff into place.
-
19. Re: SHRINKDESC-92
jesper.pedersen Jul 3, 2012 11:07 AM (in response to jesper.pedersen)I have added a patch to https://issues.jboss.org/browse/SHRINKDESC-122
-
20. Re: SHRINKDESC-92
jesper.pedersen Jul 5, 2012 12:59 PM (in response to jesper.pedersen)The usage is similar to the Maven mojo:
<metadata-parser verbose="false" classpathref="main.lib.path.id"> <path pathToApi="${build.embedded.dir}/src/main/java" pathToImpl="${build.embedded.dir}/src/main/java" pathToServices="${build.embedded.dir}/src/main/resources/META-INF/services"/> <descriptors> <descriptor pathToXsd="common/src/main/resources/schema/ironjacamar_1_0.xsd" nameSpace="ironjacamar" packageApi="org.jboss.ironjacamar.api" packageImpl="org.jboss.ironjacamar.impl" descriptorName="IronjacamarDescriptor" elementName="ironjacamar" elementType="ironjacamar:ironjacamarType"> <namespaces> <property name="blah" value="blah"/> </namespaces> </descriptor> </descriptors> </metadata-parser>
-
21. Re: SHRINKDESC-92
rbattenfeld Jul 7, 2012 8:16 AM (in response to jesper.pedersen)Thank you for this patch. I had to work on a production issue and couldn't response earlier. I will analyze and discuss with you and Andrew your additional JIRAs.
S,
Ralf