- This topic has 3 replies, 2 voices, and was last updated 18 years ago by Riyad Kalla.
-
AuthorPosts
-
stiggsMemberHello 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 filesAnyone have any ideas?
Riyad KallaMemberIs 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.
stiggsMemberI 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?
Riyad KallaMemberStiggs,
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. -
AuthorPosts