facebook

Deploying Precompiled Classes

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #249728 Reply

    sumankg
    Member

    I am creating a web project for web services…. My project works and deploys great in JBoss 4.04. All of my .java files in my src folder compile and get deployed as .class files into WEB-INF/classes correctly.

    However, I have some precompiled files, .class files, that were outputted from the jwsdp web services generation tool that I also want deployed into their respetive packages within WEB-INF/classes.

    I have tried including these files into my src folder; but everytime I deploy, the precompiled .class files do not get copied into the WEB-INF/classes folder. So as an extra step I have to manually copy these files after deploying to the JBOSS server. Is there a nice way to automatically get these precompiled classes to deploy along with the web project without writing an ant script for packaging?

    Thanks in advance.

    #249735 Reply

    Haris Peco
    Member

    sumankg ,

    Pack your classes in jar file and deploy like standard jar files (WEB-INF/lib)

    Best regards

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Deploying Precompiled Classes

You must be logged in to post in the forum log in