Thanks,

I tried what you suggested and I can see where you're coming from. I
deleted the build folder, re-ran eclipse, and it did its rebuild into
that directory. The problem was again the same. I think the problem is
elsewhere though. There are compiled java classes under the bin
directory, and these are old versions. As far as I can tell, the
compiled classes in the build directory are taken from the bin
directory, so I need to have the bin classes recompiled. I tried
deleting the bin directory hoping that they would be recompiled, but a
new bin directory was created, and none of the java files were
recompiled leaving this directory empty. Is there a way to force
Eclipse to recompile the classes under bin using the src files? Even
when doing an ant build, the deployed version contains the outdated
class files.

I checked the system date and it's current. The old compiled classes
are time stamped June 24, 2008, and the edited java files July 2,
2008, so I find it odd that they are not being automatically
recompiled.



On Tue, Jul 1, 2008 at 2:38 PM, Chuck Hill <[EMAIL PROTECTED]> wrote:
> Quit Eclipse.  Find and delete the dist/ folder (for apps) or the build/
> folder (for frameworks).  Open Eclipse, build and run.  It sounds like a
> timestamp issue: some how the compiled .class file has a newer timestamp
> than the file you modified.  Check the system time on that machine.
>
> Chuck
>
>
> On Jul 1, 2008, at 11:33 AM, Alex Daskalov wrote:
>
>> Hello all,
>>
>> I'm in the process of deploying a WebObjects app from a local server
>> to a remote server. I'm not the original developer of the app and have
>> little experience with WebObjects though I have developed and deployed
>> apps on other web frameworks, including a couple of java frameworks,
>> so it seems pretty familiar. I am using Eclipse with WOLips and
>> building the project with ANT. In preperation for the move, I've done
>> a few test deployments. After one of them, I can no longer make any
>> changes to the project. No matter the changes to the java files, the
>> build is always one specific previous version from one of the changes
>> I made. I can modify the HTML files and the changes appear, but the
>> backend java is never recompiled from source. I've been looking around
>> frantically for a solution but can't seem to find one.
>>
>> Does anyone have suggestions for things to check? I have not touched
>> much in the project, but perhaps one of the properties or xml
>> configuration files is responsible?
>> I should mention that even when running the project through WOLips
>> locally, the compiled classes are old versions and not like the
>> corresponding java files. I understand that there is an incremental
>> build that occurs that allows launching the application quickly, and
>> it seems this has stopped incrementing. I've tried both "Run as
>> WebObjects Application" and "Debug as…"
>>
>> Thank you for any help!
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>>
>> http://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-village.net
>>
>> This email sent to [EMAIL PROTECTED]
>>
>
> --
>
> 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-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to