• 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: Wrong CLASSPATH when installing WOApp with WOLips
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wrong CLASSPATH when installing WOApp with WOLips


  • Subject: Re: Wrong CLASSPATH when installing WOApp with WOLips
  • From: "Cheong Hee (Gmail)" <email@hidden>
  • Date: Thu, 31 May 2012 17:56:37 +0800

Suggest you do upgrade to latest WO5.4.3.  This will make your life easier and others to chip in, too.
 
As for the path "/" or "\" you are getting, I have not tried to print it out from code.  But I think it should work in windows for both, meaning I have not encounter this kind of problem before.
 
Cheers
 
----- Original Message -----
From: Strumyla, Marius
To: email@hidden
Sent: Thursday, May 31, 2012 2:11 AM
Subject: RE: Wrong CLASSPATH when installing WOApp with WOLips

Cheong, I’m using Windows and WO5.2. I don’t have WO5.4.

I’ve done some testing and Eclipse 3.6+WOLips 3.6 does the right thing for me. CLSSPATH gets WOROOT and APPROOT in front of libraries:

 

WOROOT/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar

WOROOT/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar

WOROOT/Library/Frameworks/JavaEOControl.framework/WebServerResources/Java/JavaEOControl.jar

…

 

I’ve written a small app

                Properties prop = new Properties();

                WOEnvironment woEnvironment = new WOEnvironment(prop);

                WOVariables woVariables = woEnvironment.getWOVariables();

                System.out.println(WOVariables.SYSTEM_ROOT + " = " + woVariables.systemRoot());

                System.out.println(WOVariables.LOCAL_ROOT + " = " + woVariables.localRoot());

 

Running it against woproject.jar from 3.7 gives me:

wo.system.root = C:\Apple

wo.local.root = C:\Apple\Local

 

Running it against woproject.jar from 3.6 gives me:

wo.system.root = C:/Apple

wo.local.root = C:/Apple/Local

 

I’m thinking that these flipping slashes are messing it for me.

Thanks

--

i5mast

 

From: Cheong Hee (Gmail) [mailto:email@hidden]
Sent: Thursday, May 24, 2012 1:43 AM
To: Strumyla, Marius; email@hidden
Subject: Re: Wrong CLASSPATH when installing WOApp with WOLips

 

wo.system.root=C\:/Apple

wo.local.root=C\:/Apple/Local

 

I have just checked that this is what I am getting too in my windows wolips properties file.  So I think your properties file is fine.   May be you could try to install your WO54 in a separate new directory and have a clearer class path for WO54.

 

<skipped>

 

Cheers

 

Cheong Hee


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your 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

  • Follow-Ups:
    • RE: Wrong CLASSPATH when installing WOApp with WOLips
      • From: "Strumyla, Marius" <email@hidden>
References: 
 >Wrong CLASSPATH when installing WOApp with WOLips (From: "Strumyla, Marius" <email@hidden>)
 >Re: Wrong CLASSPATH when installing WOApp with WOLips (From: "Cheong Hee (Gmail)" <email@hidden>)
 >RE: Wrong CLASSPATH when installing WOApp with WOLips (From: "Strumyla, Marius" <email@hidden>)

  • Prev by Date: Re: ERJaveMail
  • Next by Date: Re: ERJaveMail
  • Previous by thread: RE: Wrong CLASSPATH when installing WOApp with WOLips
  • Next by thread: RE: Wrong CLASSPATH when installing WOApp with WOLips
  • Index(es):
    • Date
    • Thread