Re: Ant woapplication not building as expected
Re: Ant woapplication not building as expected
- Subject: Re: Ant woapplication not building as expected
- From: David Avendasora <email@hidden>
- Date: Thu, 9 Dec 2010 17:08:18 -0500
Ho John,
This may seem like a stupid question, but are you building the exact same Application (i.e., from the same source files checked out from source code control or directly copied? ) on both machines?
Much of the build process is controlled by the build.XML file in the project, so if they are different projects they could have different build.XML files, especially if each were created by different revisions of WOLips.
Dave
On Dec 9, 2010, at 3:41 PM, John Larson <email@hidden> wrote:
> I've just set up a new machine using what I thought was a standard kit for setting up machines, but am totally stumped here. On my new machine everything appears to build fine, but the frameworksBaseURL isn't coming through to the command line. No errors, it just doesn't come through, nor does the bit about "-classpath WOBootstrap.jar." If I run ant with the -verbose argument, everything is totally different between the new machine and a working machine.
>
> Here are some examples:
> - The working machine shows it doing a chmod on the built files and the new machine doesn't.
> - The new machine makes a variable called HOMEROOT, the old machine never spits out anything about HOMEROOT.
> - The new machine has a routine to do "path-to-drive-letter substitution" on the command line to shorten it if it is too long, but the working machine doesn't.
>
> There's gobs of these, it's like it is completely different. But I'm hoping that maybe someone who actually wrote it will recognize what I'm talking about :-)
>
> This seems like a classpath problem to me and that ant is picking up a different WOApplication, but I'm stumped. I thought the only file that could be involved was Eclipse35/plugins/org.objectstyle.wolips.woproject.and_3.5.6066/lib/woproject.jar, but they are the same and I've copied and duplicated it between the machines a dozen times. If I remove that file, nothing works, so I know it isn't picking up another WOApplication somewhere else in the classpath. The verbose output just looks so different it looks like completely different versions, but I haven't downloaded anything new!
>
> I don't set new machines up very often, but even so, I've never had this happen. Any ideas where I can look for clues? It's WO 5.3, Eclipse 3.5, and everything else works: build, split, tar, etc. If I manually add the WOFrameworksBaseURL in the script then the app works fine, if I don't the images, css files, etc. don't get linked to correctly, as you'd expect.
>
> Thanks again,
> John _______________________________________________
> 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
>
>
_______________________________________________
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