• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deploying a Batch Script to Deploy EJBs

 
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, I am working through a batch script because I was unsuccessful using the GlassFish Console to deploy EJB files.

This is what happens to me:

<target name="deploy.shared.lib.to.glassfish">
<copy file="d:\NHINC" todir="d:\Sun\AppServer\domains\domain\lib" overwrite="true" />
</target>

This file previously said this:

<target name="deploy.shared.lib.to.glassfish">
<copy file="${deployment.glassfish.shared.lib.file.path}" todir="${glassfish.home}/lib" overwrite="true" />
</target>

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.

Okay well, here's the problem. When I comment out and hard code in the location of these files, 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

Thanks,
Michele
 
yeah, but ... what would PIE do? Especially concerning this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic