-
1. Re: Generating application.xml for Enterprise Archive?
jaikiran pai Aug 3, 2010 4:07 AM (in response to Michael Schuetz)I have seen some posts which mention the "descriptors" project. Although I haven't looked into the details of that. Maybe we could have something like:
EnterpriseArchiveDescriptor applicationXml = Descriptors.create(EnterpriseArchive ear); // similarly maybe for war and other types of archives
-
2. Re: Generating application.xml for Enterprise Archive?
Aslak Knutsen Aug 3, 2010 4:54 AM (in response to Michael Schuetz)Yea, it's on our list of potential things to support with the help of the Descriptors project and ShrinkWrap listeners.
Via Listeners ShrinkWrap can keep track of changes to the Archive and keep the Descriptor in sync..
-
3. Re: Generating application.xml for Enterprise Archive?
Aslak Knutsen Aug 3, 2010 4:56 AM (in response to jaikiran pai)jaikiran pai wrote:
I have seen some posts which mention the "descriptors" project. Although I haven't looked into the details of that. Maybe we could have something like:
EnterpriseArchiveDescriptor applicationXml = Descriptors.create(EnterpriseArchive ear); // similarly maybe for war and other types of archives
Yea , that's what we're working for; http://github.com/shrinkwrap/descriptors/blob/master/src/test/java/org/jboss/shrinkwrap/descriptor/spec/web/WebAppDefTest.java
It's just a bit hardcoded at the moment: http://github.com/shrinkwrap/descriptors/blob/master/src/main/java/org/jboss/shrinkwrap/descriptor/api/Descriptors.java
-
4. Re: Generating application.xml for Enterprise Archive?
Michael Schuetz Aug 3, 2010 5:35 AM (in response to Aslak Knutsen)Thanks for the replies.
Pretty interesting the descriptor examples..
Michael
-
5. Re: Generating application.xml for Enterprise Archive?
Andrew Rubinger Aug 3, 2010 8:59 AM (in response to Michael Schuetz)And the good news is that we're still looking for a contributor to further develop the existing prototype. Anyone interested should get in touch and I'll write up a design requirements doc to kickoff discussion.
S,
ALR
-
6. Re: Generating application.xml for Enterprise Archive?
Guillaume Grossetie Aug 3, 2013 12:46 PM (in response to Andrew Rubinger)Are you still looking ?
If so just let me know, and I'd be pleased to help on the existing prototype...
Cheers,
Guillaume.
-
7. Re: Generating application.xml for Enterprise Archive?
Andrew Rubinger Aug 3, 2013 2:40 PM (in response to Guillaume Grossetie)This is admitedly dragging on a bit due to priorities and resourcing, but we're keeping track of requirements here:
https://community.jboss.org/docs/DOC-48532
S,
ALR
-
8. Re: Generating application.xml for Enterprise Archive?
Guillaume Grossetie Aug 3, 2013 5:36 PM (in response to Andrew Rubinger)Wow the project has a lot of history !
I think that the factory based API is a good https://community.jboss.org/wiki/ShrinkwrapDescriptorFactoryBasedAPIProposal / https://gist.github.com/aslakknutsen/1025597. From a user perspective I believe that keeping the Shrinkwrap “look and feel” is essential, this is why I prefer Aslak’s proposal.
The following page https://community.jboss.org/wiki/ShrinkwrapDescriptorAPIProposal lists the bad parts of the current API but I think it’s important to also list the good parts. This will help us to draw up a list of naming conventions and design rules to follow... and as I'm new to the project I will need these guidelines
Is this pull request https://github.com/shrinkwrap/descriptors/pull/90 stills revelant ?
Maybe we can split the work by XSDs / DTD https://community.jboss.org/wiki/ShrinkwrapDeploymentDescriptorsWiki and start sending PR into the prototype modules ?
Guillaume.
-
9. Re: Generating application.xml for Enterprise Archive?
Guillaume Grossetie Aug 4, 2013 4:39 PM (in response to Guillaume Grossetie)I started playing with the PersistenceDescriptor to understand a little better the project. I also added some shortcut methods to see how the API will look and how can we implement them.
The current POC with mutable/immutable views in the master branch use parent/child node to navigate through the descriptor model but your comment on Ralf's PR is clearly in favor of a non hierarchical approch. Do you have settled if the new API will be "hierarchical" or not ?
Thanks,
Guillaume.