I'm using
Netbeans 5.0 and deploy to Geronimo 1.0. I have extended Ant
build-impl.xml with following targets and then create a menu item to
deploy/redeploy. To debug I start Geronimo with "geronimo jpda" command
and in Netbeans use "Attach Debugger" menu to get debugging
possibilities. Anyway, I still reference to bundled Sun Application
Server to get references resolved. Hope we got Netbeans plug-in for
Geronimo once. <target name="deploy" description="Deploy the application into Geronimo" depends="dist"> <java jar="c:/apache/geronimo-1.0/bin/deployer.jar" fork="true"> <arg line="--user system --password manager deploy"/> <arg file="dist/coordinator.ear" /> </java> </target> <target name="redeploy" description="Redeploy the application into Geronimo" depends="dist"> <java jar="c:/apache/geronimo-1.0/bin/deployer.jar" fork="true"> <arg line="--user system --password manager redeploy"/> <arg file="dist/coordinator.ear" /> <arg line="coordinator" /> </java> </target> <target name="undeploy" description="undeploy the application from Geronimo"> <java jar="c:/apache/geronimo-1.0/bin/deployer.jar" fork="true"> <arg line="--user system --password manager undeploy coordinator" /> </java> </target> <target name="install-sql" description="Install SQL scripts into DB"> <java classname="org.apache.derby.tools.ij"> <classpath path="c:/apache/geronimo-1.0/repository/org.apache.derby/jars/derbytools-10.1.1.0.jar"/> <classpath path="c:/apache/geronimo-1.0/repository/org.apache.derby/jars/derbyclient-10.1.1.0.jar"/> <sysproperty key="ij.driver" value="org.apache.derby.jdbc.ClientDriver"/> <sysproperty key="ij.protocol" value="jdbc:derby://localhost:1527"/> <sysproperty key="ij.user" value="APP"/> <sysproperty key="ij.password" value="APPpwd"/> <arg value="x:/coordinator/src/sql/coordinator.sql"/> </java> </target> Rohit Rai wrote / napísal(a):
|
- Re: Geronimo with Sun JSE 8/Netbeans 4.1 Milan Unger
- Re: Geronimo with Sun JSE 8/Netbeans 4.1 Jacek Laskowski
- Re: Geronimo with Sun JSE 8/Netbeans 4.1 Jacek Laskowski