This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
JDBC resources are not deployed when we use target 'ant run-deploy' from command line. To reproduce: - Go to Runtime view and add Glassfish server instance. - Start Glassfish server. - Create a new Enterprise Application project from template (use Glassfish server). - Add JDBC Resource: Open new file wizard in Enterprise application project, select Sun Resources|JDBC Resource and go through the wizard. There should be created a connection pool and dataresource under Server Resources node. - Create a new session bean in enclosed EJB project. - Open command line and go to project folder. - Execute 'ant run-deploy' command. Enterprise application is successfully deployed but JDBC resources don't appear under Resources|JDBC node in Runtime view. If you deploy application from IDE, resources are deployed successfully. Build 20060419-1103, JDK1.5.0_06, WindowsXP.
Do the resources appear if you refresh the JDBC Resources and Connection Pools nodes in the RTT?
No.
Please attach zip file of project directory that demonstrates this issue.
it looks like the replace task has some sort of platform dependency. multi-line patterns seem to be fine on *nix and broken on windows.
no changes ready for check in today -- 5.5 code freeze
need to update the ant-deploy stuff.
http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ant-deploy.xml?r1=1.2&r2=1.3
Verified.