• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New Eclipse with old Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Eclipse with old Java


  • Subject: Re: New Eclipse with old Java
  • From: T Worman <email@hidden>
  • Date: Tue, 20 Oct 2015 15:45:28 -0700

Two things I can offer:

1. My approach has been to simply make ~/Library/wobuild.properties a symlink to wolips.properties like:

wobuild.properties@ -> Application Support/WOLips/wolips.properties

This way, only 1 file has to be maintained.

2. That wocompile warning you are seeing on a framework or app build has been normal for quite some time now - at least for me. I think it originated when Apple stopped bundling ant with OS X. It does not mean that the build was not completed and it has no impact on the build product.

Tim
UCLA GSE&IS

On Oct 20, 2015, at 2:08 PM, Kushnir Gennady <email@hidden> wrote:

Hello again.

I've found two files:
$USER_HOME/Library/Application Support/WOLips/wolips.properties
$USER_HOME/Library/wobuild.properties

Both of them target correct WO install locations and are there for long time. But my woa is still built without bootstrap.jar

Only warning I get when building is this:
[wocompile] /Users/gena/Documents/WOProj/_workspace/rujel/Rujel/build.xml:206: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

And I don’t understand what it means.

I checked permissions. They seem to be ok. I do have access to target install dir.

Regards,
Gennady.

20 окт. 2015 г., в 18:30, Dennis Bliefernicht <email@hidden> написал(а):

Hi,

On 20 Oct 2015, at 14:56, Kushnir Gennady <email@hidden> wrote:

Check if your WO is still setup properly and your Library/wobuild.properties are setup correctly.
I’m afraid I don’t get that. WO frameworks are still in /System/Library/Frameworks
What is "Library/wobuild.properties" ?

Ah I misremembered the path. Its the wolips.properties in "$USER_HOME/Library/Application Support/WOLips" which points to the WebObjects installation. The WO ant task uses that file to lookup your local WO installation and determine if it is WO 5.2 or later (and contains the bootstrap JAR) or if its pre-5.2; not finding any properties equals pre-5.2 WO and results in a different launch script. We encountered this issue for example when using Jenkins to build our applications.

After changing Ant (on Mars) settings to run with Java 1.8 the build tells me that it completed successfully but actually I can't see the resulting .woa installed in /Library/WebObjects/Applications.

Any specific output? Possibly trying to run the same ant task on the command line using an ant installation? Maybe the OS upgrade messed up the access permissions / ownership? (Also the new system file protection might prevent this?)

Greetings
Dennis

--

<xyrality_logoV2green2.png>



-----------------------------------------------------
Dennis Bliefernicht • Backend Development
T +49 40 357 3001 62
email@hidden

XYRALITY GmbH • Friedensallee 290 • 22763 Hamburg
www.xyrality.com
Registergericht: Hamburg HRB 115332
Geschäftsführer: Sven Ossenbrüggen

-----------------------------------------------------
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
  • Follow-Ups:
    • Re: New Eclipse with old Java
      • From: Kushnir Gennady <email@hidden>
References: 
 >New Eclipse with old Java (From: Kushnir Gennady <email@hidden>)
 >Re: New Eclipse with old Java (From: Kushnir Gennady <email@hidden>)
 >Re: New Eclipse with old Java (From: Kushnir Gennady <email@hidden>)

  • Prev by Date: Re: New Eclipse with old Java
  • Next by Date: Can't get WOlips installed properly
  • Previous by thread: Re: New Eclipse with old Java
  • Next by thread: Re: New Eclipse with old Java
  • Index(es):
    • Date
    • Thread