Yes, thats the normal thing to do but the deploy task in build.xml provided by seam setup
doesn't add this jar.
For example
$ ant deploy
Creates a .war in the dist folder and copies the data source xml and this .war inside the
deploy folder of your jboss as.
The thing is that the .war doesn't contains itext-2.0.x.jar in the lib folder.
You can solve this adding
inside the war task in your build.xml
Like this
| <copy todir="${war.dir}/WEB-INF/lib">
| <fileset dir="${lib.dir}">
| <include name="ajax4jsf*.jar" />
| <include name="richfaces*.jar" />
| <include name="oscache*.jar" />
| <include name="jsf-facelets.jar" />
| <include name="jboss-seam-*.jar" />
| <exclude name="jboss-seam-gen.jar" />
| <include name="drools-*.jar"/>
| <include name="janino-*.jar"/>
|
| <include name="itext-*.jar"/>
|
| <include name="antlr-*.jar"/>
| <include name="commons-jci-*.jar"/>
| <include name="stringtemplate-*.jar"/>
| </fileset>
| </copy>
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085048#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...