facebook

Problem with Axis2

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #261805 Reply

    stiggs
    Member

    Hello everyone,

    I am using Axis2 as a servlet. I have generated my classes using xmlbeans and there is a generated file called TypeSystemHolder.class located under the resources directory.

    Here is the problem. I have set the “resources” directory to be one of my source directories, so the files get put into “WEB-INF/classes”. The problem is that the TypeSystemHolder.class file does not get moved in automatically. Eclipse seems to be ignore all *.class files in the source folders.

    Fair enough, I decided to go under the Java Build Path source folders, and implicitly add all *.class, *.xsb, *.wsdl, *.xsd, *.xml files. This doesn’t work either. All the directories get created, however only the top level files get moved over.

    ie. WEB-INF/classes — services.xml, my wsdl and xsd file are here
    schemaorg_apache_xmlbeans –> directories are created, but no files

    Anyone have any ideas?

    #261819 Reply

    Riyad Kalla
    Member

    Is your setup such that you have a web project, and you are generating classes and want to put it into this project? You could make the Web project dependent on a Java project that contains your generated files, and MyEclipse would handle that deployment for you.

    #261831 Reply

    stiggs
    Member

    I supposed I could do this, but I would have to put the generated files into the output directory. Is there anyway to have eclipse/myeclipse to not ignore .class files and move them over to the output directory?

    #261833 Reply

    Riyad Kalla
    Member

    Stiggs,
    This is actually an Eclipse build behavior and off the top of my head the only thing I can think of (that you might as well do with the single project) is to turn off the output dir “scrubbing” when a project is built, so it won’t erase the .class file, then you can just drop it right into the location that it needs to be.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Problem with Axis2

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