Re: Building on server, no Eclipse
Re: Building on server, no Eclipse
- Subject: Re: Building on server, no Eclipse
- From: Chuck Hill <email@hidden>
- Date: Mon, 6 Apr 2009 16:51:23 -0700
On Apr 6, 2009, at 4:28 PM, Dom wrote:
I'd think this has to be some freaking setting/property/stupid
wobuild file some place as it works locally using ant within
Eclipse. Man this is frustrating; it seems like every time I start
to get some place with WebObjects I hit yet another wall.
On Apr 6, 2009, at 4:26 PM, Chuck Hill wrote:
On Apr 6, 2009, at 1:17 PM, Dom wrote:
Getting errors on included frameworks, as in, it can't find them.
The frameworks are building and installing fine on the server, but
the main project can't find them. What do I need to make sure is
up there for this to work? Thanks.
Dom
This is really a WOLips question...
Check
~/Library/Application\ Support/WOLips/wolips.properties
for the user they are getting built as.
The file is there, lots of properties all pointing to logical places
where frameworks live, at least of the ones I'm using.
And are your frameworks there? Is the jar built in .framework/
Resources/Java?
Check also
- permissions
- woproject.jar version
Good here; copied up the latest previously and it's on the path. The
tasks are executing, they're just failing.
It is not picking up an older version from the Ant/lib or Java
Extensions?
- errors in the ant log (run with -version -debug for more info)
When building one of the dependent frameworks, I found something
interesting:
[woframework] No sources found.
And the build just zips by, including the install into /Library/
Frameworks. I'd think that if it didn't find anything to compile, it
would fail and the install would not occur, no?
You can have a resource only framework.
Anyway, it's doing that on both the dependent frameworks and at
least that explains why the main project isn't compiling as it can't
find the class files it needs from the frameworks. So now the
question is why are those builds not really Succeeding?
They are not failing either. They are just not doing what you want.
Are the sources really there on the server in the Sources/ directory
in each framework? Is the project the current working directory when
you build them? If you are not using Eclipse, what are you using? A
custom Ant script? Check your Ant... verify assumptions.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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