[jboss-user] [JBoss Tools] New message: "Re: org.jboss.tools.jst.web.xml"

Denis Golovin do-not-reply at jboss.com
Mon Jan 11 15:53:31 EST 2010


User development,

A new message was posted in the thread "org.jboss.tools.jst.web.xml":

http://community.jboss.org/message/519375#519375

Author  : Denis Golovin
Profile : http://community.jboss.org/people/dgolovin

Message:
--------------------------------------------------------------
I guess you added richfaces as custom capabilities to Seam project. That triggers update for org.jboss.tools.jst.web.xml and adds a lot of libs with absolute path.
 
My usecase to reproduce that below.
 
1. EXECUTE: Create any Seam project in WAR deployment configuration
2. ASSERT: Open .settings/org.jboss.tools.jst.web.xml file and check there are no absolute paths
3. EXECUTE: Add Richfaces Custom Capabilities
4. ASSERT: There are still no absolute paths in .settings/org.jboss.tools.jst.web.xml
 

On second step .settings/org.jboss.tools.jst.web.xml contains no absolute paths:
 
<?xml version="1.0" encoding="UTF-8"?><file-systems application-name="seam1" model-entity="FileSystems" VERSION="2.0.0" workspace-home="./WebContent/WEB-INF">&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<file-system model-entity="FileSystemFolder" location="%workspace.home%" NAME="WEB-INF"></file-system>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<file-system model-entity="FileSystemFolder" info="Content-Type=Web" location="%workspace.home%/.." NAME="WEB-ROOT"></file-system>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<file-system model-entity="FileSystemFolder" location="%workspace.home%/../../src" NAME="src"></file-system>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<file-system model-entity="FileSystemFolder" location="%workspace.home%/lib" NAME="lib"></file-system>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<file-system model-entity="FileSystemFolder" location="%workspace.home%/classes" NAME="classes"></file-system>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<web model-entity="JstWeb" model-path="/web.xml" SERVLET_VERSION="2.4">&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<module model-entity="WebJSFModule" model-path="/faces-config.xml" root="WEB-ROOT" src="src" URI="/WEB-INF/faces-config.xml"></module>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</web></file-systems>
 
 
but on fourth step:
<?xml version="1.0" encoding="UTF-8"?><file-systems VERSION="2.0.0" application-name="seam3" model-entity="FileSystems" workspace-home="./WebContent/WEB-INF"> <file-system NAME="WEB-INF" location="%workspace.home%" model-entity="FileSystemFolder"></file-system> <file-system NAME="WEB-ROOT" info="Content-Type=Web"  location="%workspace.home%/.." model-entity="FileSystemFolder"></file-system> <file-system NAME="lib" location="%workspace.home%/lib" model-entity="FileSystemFolder"></file-system> <file-system NAME="classes" location="%workspace.home%/classes" model-entity="FileSystemFolder"></file-system>

 <file-system NAME="lib-resources.jar"  location="/usr/lib/jvm/java-6-openjdk/jre/lib/resources.jar" model-entity="FileSystemJar"></file-system>
 ... <file-system NAME="lib-policy.jar"  location="/home/eskimo/Java/jboss-4.2.2.GA/client/policy.jar" model-entity="FileSystemJar"></file-system> ... <file-system NAME="lib-antlr-runtime.jar"  location="/home/eskimo/workspace-3.1.0.M4/seam3/WebContent/WEB-INF/lib/antlr-runtime.jar" model-entity="FileSystemJar"></file-system>
 ...
 <file-system NAME="src" location="%workspace.home%/../../src/main" model-entity="FileSystemFolder"></file-system> <file-system NAME="src-1" location="%workspace.home%/../../src/hot" model-entity="FileSystemFolder"></file-system> <file-system NAME="seam3" location="%eclipse.project%" model-entity="FileSystemFolder"></file-system> <file-system NAME="lib-richfaces-api-3.3.2.SR1.jar" info="hidden=yes"  location="%workspace.home%/lib/richfaces-api-3.3.2.SR1.jar" model-entity="FileSystemJar"></file-system> <file-system NAME="lib-richfaces-impl-3.3.2.SR1.jar" info="hidden=yes"  location="%workspace.home%/lib/richfaces-impl-3.3.2.SR1.jar" model-entity="FileSystemJar"></file-system> <file-system NAME="lib-richfaces-ui-3.3.2.SR1.jar" info="hidden=yes"  location="%workspace.home%/lib/richfaces-ui-3.3.2.SR1.jar" model-entity="FileSystemJar"></file-system> <file-system NAME="lib-richfaces-api-3.1.6.SR1.jar" info="hidden=yes"  location="%workspace.home%/lib/richfaces-api-3.1.6.SR1.jar" model-entity="FileSystemJar"></file-system> <file-system NAME="lib-richfaces-impl-3.1.6.SR1.jar" info="hidden=yes"  location="%workspace.home%/lib/richfaces-impl-3.1.6.SR1.jar" model-entity="FileSystemJar"></file-system> <file-system NAME="lib-richfaces-ui-3.1.6.SR1.jar" info="hidden=yes"  location="%workspace.home%/lib/richfaces-ui-3.1.6.SR1.jar" model-entity="FileSystemJar"></file-system> <web SERVLET_VERSION="2.4" model-entity="JstWeb" model-path="/web.xml">  <module URI="/WEB-INF/faces-config.xml" model-entity="WebJSFModule"   model-path="/faces-config.xml" src="src" web-root="WEB-ROOT"></module> </web></file-systems>
 
 
It looks like all jars from jdk, server and web libraries classpath containers were added to org.jboss.tools.jst.web.xml.

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/519375#519375




More information about the jboss-user mailing list