|
Hi aslak, thanks for replying, I have three
questions right now to deploy my app in jboss or oc4j :
1� : I created by hand an application.xml and copy
to the build dir before jaring the ear, but in sample of xdoclet it's generated
through ReplaceCopy. And there's the EAR and WAR task in ant, what's
better?
2� : i sent a question about problem in reading the
ejb-jar.xml, in oc4j and jboss, utf-8 error, if u can, take a look in my last
post.
obs: I can solve this...
3� I created three diffrent branches in my path for
each module :
client
server
both
so I can put , for example, the interface and home
in both, bussiness delegates in client, and so on. SO when I want to compile i
do :
<target name="compile-ejbs" depends="ejbdoclet"> <!-- Compile EJBs --> <javac srcdir="${java.dir};${generated.java.dir}" destdir="${ejb.classes.dir}" includes="**/server/**/*.java,**/both/**/*.java" > <classpath refid="project.class.path" /> </javac> <echo message="compiled ejb classes"/> </target> <!-- Compila -->
<target name="compile" depends="compile-ejbs"> <!-- Compila
classes web -->
<javac srcdir="${java.dir};${generated.java.dir}" destdir="${build.dir}/web/WEB-INF/classes" includes="**/client/**/*.java;**/both/**/*.java"> <classpath refid="project.class.path" />
</javac>
<echo message="compilou classes para web"/> </target>
is it a nice way to separate and to distribute the same classes to either server and client ????
|
- [Xdoclet-user] Better appoache to create the applica... Emerson Cargnin - MSA
- RE: [Xdoclet-user] Better appoache to create th... Aslak Helles�y
- RE: [Xdoclet-user] Better appoache to creat... Emerson Cargnin - MSA
- RE: [Xdoclet-user] Better appoache to c... Aslak Helles�y
- Re: [Xdoclet-user] Better appoache ... Emerson Cargnin - MSA
