-
1. Re: want to port project from myeclipse to jboss tools...
deanhiller Sep 10, 2009 3:58 PM (in response to deanhiller)shoot, my tabs got ripped out..here is the dir structure again
project ---input ------javasrc - src code ------libinclude - jar files that go in WEB-INF/lib when bundling war ------libexclude - jar files needed for compile but don't go in war ------webroot - contains all the xhtml files ---------WEB-INF - contains seam descriptors ---output - a bunch of generated directories
-
2. Re: want to port project from myeclipse to jboss tools...
rob.stryker Sep 10, 2009 4:19 PM (in response to deanhiller)I'd have to see an example project to know for sure (i'm not too familiar with myeclipse), but I believe it probably depends mostly on the content of your project/.settings/ folder. Specifically there should be a file in there called org.eclipse.wst.component.xml (or similar).
I'm also not sure I'd use the term "behind" myeclipse. Just because your structure was tailored to myeclipse doesn't mean we're behind, it just means you have to figure out the easiest path to smush your stuff into ours ;)
Again, let me know about that xml file. -
3. Re: want to port project from myeclipse to jboss tools...
deanhiller Sep 10, 2009 6:12 PM (in response to deanhiller)yes, "behind" can be relative. I am new to jboss tools, but then I was new to myeclipse when I set that up as well though it did take me an hour to setup as there was one trick that was tough. With jboss tools, I have been playing and playing with it with no luck.
I have no .settings folder in my myeclipse project at all so there is not the file that you speak of. I even tried setting this up in WTP project but did not succeed there either. How does one setup the location of javasrc, the jars to include in web-inf, the jars to use to compile but exclude from web-inf and then finally the xhtml files and web-inf descriptors. Those are the 5 things that need to get put somewhere. It seems like all the IDE's should really just ask you for those 5 things and be done with it(with little question marks next to each one explaining it).
anyways, is there a way to set up those 5 locations and have jboss deploy to tomcat/webapps (instead of copying into my source code directories).
in fact, when I fooled around with setup, and then diffed against cvs, my project structure had all these added files and I had to blow everything away...very annoying when it does stuff in the source tree when using version control. I just wish there was a tutorial on setting up a project with a different dir structure than the example(I even saw someone post on the WTP project the other day asking the same question).
Do you know of any docs or examples on setting up a different dir structure?
thanks,
Dean