How-tos: Eclipse + WO
How-tos: Eclipse + WO
- Subject: How-tos: Eclipse + WO
- From: Ricardo Parada <email@hidden>
- Date: Fri, 23 Feb 2007 11:04:05 -0600
For a while I've been using ant (with project wonder's jar files) to
build my projects from the command line. I then use Xcode as a java
editor. Or sometimes TextMate. For editing WO components I used
Xcode or WebObjectsBuilder. And of course EOModeler for eomodeld files.
My project is organized as follows in the file system in my home
directory:
Source/
WebApps/
Tools/
Frameworks/
WebResources/
Recently I started looking into using Eclipse. I followed the
instructions on how to setup WOLips and got my first application
going. I like the incremental compilation and in-place hot code
replacement. That's nice. Debugging works nice too. I wish the
file find was as easy as Xcode though. In Eclipse you have to bring
up a find panel and then switch to the file find tab in that panel.
Anyways, I still feel my hands are tied with Eclipse. The reason is
that all my application java classes and WO components created are in
the default java package. I don't know how to move them to another
java package using Eclipse. For example, my Application java class
for my application Foo should be in a package named
com.mycompany.webapps.foo package.
Does anybody know how to do that in Eclipse?
Then I want to put the WO components into a framework with their own
package. Then I want my application to reference that framework.
I'm still struggling on how to do that.
Also I want to be able to access my source tree of webapps,
frameworks, etc. from the package explorer.
Also the WebResources folder in my source tree has its own custom
build.xml which instructs ant to copy anything under that to my web
server root document. For this one I can probably just run ant from
the command line although there's probably a way to do it from Eclipse.
Is it possible to manage this kind of project with Eclipse. Or do I
have to go back to using ant from the command line and using my
favorite Java source file editors (TextMate, Xcode)? :-)
Also the Control+spacebar for code completion while editing WO
components, etc. doesn't seem to work sometimes. I'm not sure why.
It's moody. Is it the same for you guys out there using Eclipse? Or
am I the only one experiencing this problem? :-)
Thanks in advance for any pointers / advise.
Ricardo Parada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden