MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
stiggs
Post subject: Problem with Axis2  PostPosted: Nov 14, 2006 - 04:52 PM
Registered Member
Registered Member


Joined: Sep 25, 2005
Posts: 8

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?
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 14, 2006 - 08:16 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

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.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
stiggs
Post subject:   PostPosted: Nov 14, 2006 - 09:10 PM
Registered Member
Registered Member


Joined: Sep 25, 2005
Posts: 8

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?
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 14, 2006 - 09:15 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

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.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits