[JBoss Seam] - Re: Lazy mans guide to developing SEAM!
by seamNoobie
Update
Don't have a . (dot) in your MyEclipse projects:
xxxx.ear
xxxx.jar
xxxx.war
should be
xxxx
xxxx_jar
xxxx_war
and then you can deploy a .ear file directly to your server from MyEclipse (thanks MyEclipse guys).
making your xxx
META-INF
application.xml
| <application>
| <display-name>xxxx</display-name>
|
| <module>
| <web>
| <web-uri>xxxx_war.war</web-uri>
| <context-root>/xxxx</context-root>
| </web>
| </module>
| <module>
| <ejb>xxxx_jar.jar</ejb>
| </module>
| <module>
| <java>jboss-seam.jar</java>
| </module>
| <module>
| <java>icefaces.jar</java>
| </module>
| <module>
| <java>icefaces-comps.jar</java>
| </module>
| </application>
|
Also, allegedly, filtered deployment is COMING SOON to MyEclipse (so you don't deploy your test .jars to your archive!)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000226#4000226
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000226
19 years, 3 months
[JBossCache] - Re: PojoCache: java.lang.NoSuchMethodException: addObserver
by chencao0524
Hi ben, the problem was resolved.
I just added a path to build.classpath, show below
| <path id="build.classpath">
| <pathelement location="${basedir}"/>
| <fileset dir="${jboss.home}/lib">
| <include name="**/*.jar"/>
| </fileset>
| <fileset dir="${jboss.home}/server/${jboss.server.config}/lib">
| <include name="**/*.jar"/>
| </fileset>
| <fileset dir="${jboss.home}/server/${jboss.server.config}/deploy/ejb3.deployer">
| <include name="*.jar"/>
| </fileset>
| <fileset dir="${jboss.home}/server/${jboss.server.config}/deploy/jboss-aop-jdk50.deployer">
| <include name="*.jar"/>
| </fileset>
| <fileset dir="${lib.dir}">
| <include name="**/*.jar"/>
| </fileset>
| <fileset dir="${deploy.dir}/tc5-cluster.sar">
| <include name="tc5-cluster.aop" />
| </fileset>
| <!--fileset dir="${cache.lib.50.dir}">
| <include name="**/*.jar"/>
| </fileset-->
| <pathelement location="${classes.dao.dir}"/>
| <pathelement location="${classes.web.dir}"/>
| <pathelement location="${classes.test.dir}"/>
| <pathelement location="${conf.hivemind.dir}"/>
| </path>
|
|
| <!-- pre-compile directory with aopc -->
| <target name="aopc" depends="compile" description="Precompile aop test classes">
| <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="build.classpath"/>
| <aopc compilerclasspathref="build.classpath" verbose="true">
| <src path="${classes.dao.dir}"/>
| <aoppath path="${cache.resources.dir}/jboss-aop.xml"/>
| <classpath refid="build.classpath"/>
| </aopc>
| </target>
|
|
Now, it's ok.
Is that snippet of path must been contained in the classpath?
Thanks a lot for your help!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000220#4000220
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000220
19 years, 3 months