[JBoss Eclipse IDE (users)] - JBossIDE-Core-nodeps-2.0.0.Beta2.zip features.xml contains <
by jarkkoï¼ jab.fi
Just noticed that the nodeps version, JBossIDE-Core-nodeps-2.0.0.Beta2.zip , still contains several includes -tags in it's feature.xml.
|
| <includes id="org.eclipse.emf" version="2.2.1.v200609210005"/>
|
| <includes id="org.eclipse.gef" version="3.2.1.v20060921"/>
|
| <includes id="org.eclipse.jem" version="1.2.1.v20060815_M----6zXJJzKIRGVU"/>
|
| <includes id="org.eclipse.jst" version="1.5.1.v200609111510-kW-O_zxPud7GuJG"/>
|
| <includes id="org.eclipse.wst" version="1.5.1.v200609111500-X3TmmF3AeboB5EW"/>
|
| <includes id="org.eclipse.xsd" version="2.2.1.v200609210005"/>
|
|
To fix it, i removed all those includes and added several import-tags inside the requires that (copied from some other nodeps feature.xml)
|
| <url>
| <update label="JBoss Eclipse IDE Update Site" url="http://download.jboss.org/jbosside/updates/stable"/>
| </url>
|
| <requires>
|
| <import plugin="org.eclipse.core.runtime"/>
| <import plugin="org.eclipse.debug.core"/>
| <import plugin="org.eclipse.core.resources"/>
| <import plugin="org.eclipse.jdt.launching"/>
| <import plugin="org.eclipse.jdt.core"/>
| <import plugin="org.eclipse.jst.server.core" version="1.0.102" match="equivalent"/>
| <import plugin="org.eclipse.jst.server.generic.core" version="1.0.100" match="equivalent"/>
| <import plugin="org.eclipse.wst.server.core" version="1.0.102" match="equivalent"/>
| <import plugin="org.eclipse.core.boot"/>
| <import plugin="org.eclipse.debug.ui"/>
| <import plugin="org.eclipse.jst.j2ee"/>
| <import plugin="org.eclipse.jst.j2ee.core" version="1.1.0" match="equivalent"/>
| <import plugin="org.eclipse.ant.ui"/>
| <import plugin="org.eclipse.ant.core"/>
| <import plugin="org.eclipse.ui.externaltools"/>
| <import plugin="org.eclipse.wst.common.project.facet.core" version="1.1.0" match="equivalent"/>
| <import plugin="org.eclipse.jst.common.project.facet.core" version="1.1.0" match="equivalent"/>
| <import plugin="org.eclipse.wst.xml.core" version="1.1.0" match="equivalent"/>
| <import plugin="org.eclipse.ui"/>
| <import plugin="org.eclipse.ui.forms"/>
| <import plugin="org.eclipse.jst.server.ui"/>
| <import plugin="org.eclipse.wst.server.ui" version="1.0.102" match="equivalent"/>
| <import plugin="org.eclipse.wst.server.ui.doc.user"/>
| <import plugin="org.eclipse.jst.server.generic.ui"/>
| <import plugin="org.eclipse.jdt.debug"/>
| <import plugin="org.eclipse.jdt.debug.ui"/>
| <import plugin="org.eclipse.ui.console"/>
| <import plugin="org.eclipse.text"/>
| <import plugin="org.eclipse.jface.text"/>
| <import plugin="org.eclipse.ui.views"/>
| <import plugin="org.eclipse.ui.editors"/>
| <import plugin="org.eclipse.ui.workbench.texteditor" version="3.2.0" match="equivalent"/>
| <import plugin="org.eclipse.wst.xml.ui"/>
| <import plugin="org.eclipse.wst.sse.ui"/>
| <import plugin="org.eclipse.wst.sse.core" version="1.1.0" match="equivalent"/>
| <import plugin="org.eclipse.jdt.ui" version="3.2.0" match="equivalent"/>
| <import plugin="org.eclipse.core.filesystem"/>
| <import plugin="org.eclipse.ui.ide" version="3.2.0" match="equivalent"/>
| <import plugin="org.eclipse.jst.server.tomcat.core"/>
| <import plugin="org.eclipse.jst.servlet.ui"/>
| <import plugin="org.eclipse.jst.j2ee.ui"/>
| <import plugin="org.eclipse.wst.web.ui"/>
| <import plugin="org.eclipse.wst.common.frameworks.ui"/>
| <import plugin="org.eclipse.jst.server.tomcat.ui"/>
| <import plugin="org.eclipse.core.variables"/>
| <import plugin="org.eclipse.search"/>
| <import plugin="org.eclipse.jst.ws"/>
| <import plugin="org.eclipse.jst.ws.ui"/>
| <import plugin="org.eclipse.jst.ws.consumption"/>
| <import plugin="org.eclipse.jst.ws.consumption.ui"/>
| <import plugin="org.eclipse.jst.ws.axis.creation.ui"/>
| <import plugin="org.eclipse.wst.ws"/>
| <import plugin="org.eclipse.wst.ws.ui"/>
|
|
|
| <import plugin="org.eclipse.core.runtime"/>
| <import plugin="org.eclipse.ui.ide"/>
| <import plugin="org.eclipse.ui.views"/>
| <import plugin="org.eclipse.jface.text"/>
| <import plugin="org.eclipse.ui.workbench.texteditor"/>
| <import plugin="org.eclipse.ui.editors"/>
| <import plugin="org.eclipse.core.resources"/>
| <import plugin="org.eclipse.debug.core"/>
| <import plugin="org.eclipse.ui"/>
| <import plugin="org.eclipse.ui.externaltools"/>
| <import plugin="org.eclipse.jdt"/>
| <import plugin="org.eclipse.jdt.core"/>
| <import plugin="org.eclipse.jdt.ui"/>
| <import plugin="org.eclipse.jdt.launching"/>
| <import plugin="org.eclipse.debug.ui"/>
| <import plugin="org.apache.ant"/>
| <import plugin="org.eclipse.ant.core"/>
| <import plugin="org.eclipse.ant.ui"/>
| <import plugin="org.eclipse.jdt.debug"/>
| <import plugin="org.eclipse.jdt.debug.ui"/>
| <import plugin="org.eclipse.ui.intro"/>
| <import plugin="org.eclipse.help"/>
| <import plugin="org.eclipse.help.ui"/>
| </requires>
|
|
Dunno know, if all that is required (e.g. there might be duplicates), but atleast Eclipse doesn't show any errors.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988499#3988499
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988499
19Â years, 5Â months
[JBoss Seam] - [DVD example]what does the transaction to="contact" do in th
by ellenzhao
I'm learning from the DVD example in Seam 1.1.0CR 1, and building a similar project from scratch. In the newuser.jpd.xml file, there is:
| <page name="contact" view-id="/newuser/contact.xhtml"
| no-conversation-view-id="/newuser/account.xhtml">
| <redirect/>
| <transaction to="contact"/>
| <transition name="prev" to="account"/>
| <transition name="next" to="card"/>
| </page>
|
What does the bold line exactly do? No matter I include it in my similar application or comment it out, there was always errors and my application doesn't register new user.
What does the standard.jar in the DVD example do? Do I have to include it in my application to get things working? For now I'm only doing pageflow management with jbpm. More concretely, I added a confirmation node between contact and complete. In the confirmation.xhtml, I wanted to display all the input from user and let user edit again if she finds any error by clicking the "prev" button. The hibernate.cfg.xml and jbpm.cfg.xml files in the exploded path. But always got delegate exception from a .jbpm.graph package. (I'm using mysql)
Thanks in advance for any help.
Regards,
Ellen
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988497#3988497
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988497
19Â years, 5Â months
[JBoss Seam] - Re: Searchengine friendly links
by spambob
Hi Gavin,
now I wrote me a little filter which extracts request scoped variables from a URL and forwards to some target page.
I.e. from a URL "http://www.example.com/products/12345.xhtml" a request variable 'productId' with value '12345' is extracted and the request is forwarded to /showProduct.xhtml.
The product reference I use in showProduct.xhtml via EL is created by a @Factory annotated method that uses a 'productId' attribute of the same class to know which product to load.
This works fine when the productId is injected in the class with the @In annotation but not when I use the @RequestParameter annotation - which I would prefer because I'm not sure if the @In solution would be threadsafe - because the 'productId' is in the attribute map and not in the parameter map of the request. Further there's no method to add an additional parameter.
So the possible solutions I can think of are:
1. add a wrapper around every request in the filter - I don't like that because it would be quite an overhead just to set these parameters
2. use @In(scope=EVENT) - I'm not sure if there would be any impacts on performance / scalability
3. we get a @RequestAttribute annotation (like the @RequestParameter but for the attribute map of the request)
4. It is somehow possible to pass parameters to a factory method - i like that one but found no examples for it, is it possible?
So: how would you solve that and would there be any difference between 2nd and 3rd?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988491#3988491
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988491
19Â years, 5Â months