Hello, I am working through a batch script to deploy EJBs because I was unsuccessful using the GlassFish Console to deploy EJB files.
This is what happens to me:
This file previously said this:
ib" overwrite="true" />
The problem is that where I work, we are not allowed to run anything on the c: drive, it has to be run on the d: drive. Well, the batch script has apparently been coded to work with the c: drive.
so I changed it to this:
<copy file="d:\NHINC" todir="d:\Sun\AppServer\do
in\lib" overwrite="true" />
Okay well, here's the problem. When I comment out and hard code in the location of these files just referenced directly above, I get this error:
Use a resource collection to copy directories.
I did some research that said this was a bug. It was like, well, great a bug, but I still need to get this deploy.bat to run!!!
I am running GlassFish 2.1.1 bundled with NetBeans 6.7.1 on a 32bit Windows 2008 Server SP with 2 Gb. of RAM