It is a tomee 1.6.0-Snapshot feature. File is read by line and support: * file path (or folder with wildcard as said previously) * url (mvn, http,...) Le 11 mai 2013 18:34, "Caroline" <[email protected]> a écrit :
> Ok, I can now get the jarstxt-maven-plugin. > > Although it doesn't seem to work. > I tried adding an empty WEB-INF/jars.txt > I tried adding one with a reference to one of my own jars. > Everytime jars.txt remains untouched and I can't run because he can't find > one of my own jars I have in my pom.xml > > /Library/TomEE/Aree-components/*.jar (a link) doesn't work, > but /usr/local/apache-tomee-plus-1.5.2/Aree-components/*.jar neither. > > Furthermore, what is the syntax for adding the folder to jars.txt, should > I get it working? > mvn:/usr/local/apache-tomee-plus-1.5.2/Aree-components/*.jar > ? > > > > Op zaterdag 11 mei 2013, om 16:38 heeft Romain Manni-Bucau [via OpenEJB] > het volgende geschreven: > > > The plugin needs apache snapshot repo as plugin repo. > > > > About the syntax: /Library/.../*.jar should be fine > > Le 11 mai 2013 16:28, "Caroline" <[hidden email] > (/user/SendEmail.jtp?type=node&node=4662825&i=0)> a > > écrit : > > > > > Hi, > > > > > > > > > I'm sorry but I'd like some more help. > > > > > > a1) virtualwebapploader > > > I don't get what you mean by 'your own path'. I was looking for > someone who > > > can help me to the exact path I have to provide to > VirtualWebappLoader. My > > > *.jar files are in (root of my mac ->) > /Library/TomEE/Aree-components/, my > > > TomEE install is in /Library/TomEE/ > > > > > > b1) jars.txt > > > I found two blogposts of Romain about the jars.txt file, but only > typical > > > domain examples are given, not how I can add my > > > /Library/TomEE/Aree-components/ dir to the file. > > > Furthermore, I'm not able to add jarstxt-maven-plugin to my > application: > > > "Plugin org.apache.openejb.maven:jarstxt-maven-plugin:4.6.0-SNAPSHOT > or one > > > of its dependencies could not be resolved: Failed to read artifact > > > descriptor for > > > org.apache.openejb.maven:jarstxt-maven-plugin:jar:4.6.0-SNAPSHOT: > Could not > > > find artifact > > > org.apache.openejb.maven:jarstxt-maven-plugin:pom:4.6.0-SNAPSHOT -> > [Help > > > 1]" > > > > > > a2) > > > I found a ticket stating "fix VirtualWebappLoader", resolved in version > > > 1.6.0. So I downloaded the latest 1.6.0-SNAPSHOT and tried more stuff > to no > > > avail: > > > "INFO: Illegal access: this web application instance has been stopped > > > already. Could not load org.apache.log4j.Category. The eventual > following > > > stack trace is caused by an error thrown for debugging purposes as > well as > > > to attempt to terminate the thread which caused the illegal access, > and has > > > no functional impact. > > > java.lang.IllegalStateException > > > at > > > > > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1600)" > > > > > > b2) > > > On 1.6.0, I still can't add > > > org.apache.openejb.maven:jarstxt-maven-plugin:4.6.0-SNAPSHOT. > > > > > > Thank you for your time. > > > > > > > > > > > > > > > > > > -- > > > View this message in context: > > > > http://openejb.979440.n4.nabble.com/Location-of-jar-bean-so-it-s-seen-by-CDI-tp4662777p4662824.html > > > Sent from the OpenEJB User mailing list archive at Nabble.com ( > http://Nabble.com). > > > > > > > > > If you reply to this email, your message will be added to the discussion > below: > http://openejb.979440.n4.nabble.com/Location-of-jar-bean-so-it-s-seen-by-CDI-tp4662777p4662825.html > > To unsubscribe from Location of jar bean so it's seen by CDI, click here > ( > http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4662777&code=Y2Fyb2xpbmUudmFuLmRlbi5oYXV3ZUBnbWFpbC5jb218NDY2Mjc3N3wxNzgxOTg5MTAw > ). > > NAML ( > http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml > ) > > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Location-of-jar-bean-so-it-s-seen-by-CDI-tp4662777p4662826.html > Sent from the OpenEJB User mailing list archive at Nabble.com.
