• 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: Deploying App built with Eclipse - where did the .CMD go?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deploying App built with Eclipse - where did the .CMD go?


  • Subject: Re: Deploying App built with Eclipse - where did the .CMD go?
  • From: David Griffith <email@hidden>
  • Date: Thu, 5 Nov 2009 03:18:19 +0100

Well I haven't a clue what it is, but I've just had a thought... maybe it's got something to do with Project Wonder. Probably need to update to the latest version on the linux box...

On Nov 5, 2009, at 3:15 AM, David LeBer wrote:


On 2009-11-04, at 9:12 PM, David Griffith wrote:

I don't even know what jakarta-oro is to be honest. Never seen it before. Is it something I need to have installed?

oro is a text processing (i.e: regex etc) library. <http://jakarta.apache.org/oro/ >


And the error you are seeing is because there is a reference to it's MalformedPatternException class that cannot be fulfilled.



Dave.

On Nov 5, 2009, at 3:09 AM, Pascal Robert wrote:

... And if it's the case, move the file (jarkata-oro-XXXX.jar) to the Libraries folder in the WO project, in Eclipse right-click on the JAR, select Build Path -> Add to build path. When you build the bundle with Ant, the jar will be automatically added to the bundle and you will be fine, no matter where you deploy. After that, remove jarkata-oro-XXXX.jar from /Library/Java/Extensions (close Eclipse first, or else it will complain about missing JARs).

Have you been naughty and added jars to /Library/Java/Extensions?


On Nov 4, 2009, at 5:59 PM, David Griffith wrote:

Hi Pascall,

Thanks for that.  I figured it out and found the relevant files -
there was no shell script of course in the build directory.  However

I am now getting this when i try and launch the app on linux:

158 [main] WARN NSLog - A fatal exception occurred: org/apache/oro/

text/regex/MalformedPatternException
[2009-11-05 02:51:26 CET] <main> java.lang.NoClassDefFoundError:
org/
apache/oro/text/regex/MalformedPatternException
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at
com
.webobjects

.foundation._NSUtilities._classWithPartialName(_NSUtilities.java:307)
	at
com
.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java:

291)
	at
com.webobjects.foundation.NSBundle.initPrincipalClass(NSBundle.java:

2553)
	at
com
.webobjects.foundation.NSBundle.InitPrincipalClasses(NSBundle.java:

710)
	at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:368)
	at
com
.webobjects
.appserver
._private.WOProperties.initUserDefaultsKeys(WOProperties.java:179)
	at

com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:

5051)
	at
com.webobjects.appserver.WOApplication.<init>(WOApplication.java:
551)
	at ips.distributor.Application.<init>(Application.java:20)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at com.webobjects.appserver.WOApplication.main(WOApplication.java:

323)
	at ips.distributor.Application.main(Application.java:16)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:87)


What is that?

Regards,
David.

On Nov 5, 2009, at 2:51 AM, Pascal Robert wrote:

That is normal, you need to actually build a full bundle with WOLips

Install Tools -> Ant install...

As for .cmd file and Linux, the .cmd is for Windows, Linux (or any

other UNIX) will use the same shell script as OS X.

Hi all,

Finally seem to have gotten the app all working well. Building
fine

on Snow Leopard. Running fine. But what I find in the build directory is not a package, it's just a folder. It does not
contain

the .CMD file either. I need to deploy this on Linux. Certainly something silly. What am i doing wrong?

Regards,
David.
_______________________________________________
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

--

-------------------------------------------------------
Pascal Robert

http://www.macti.ca
http://www.linkedin.com/in/macti

Skype: MacTICanada
AIM/iChat : MacTICanada

_______________________________________________
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

-- 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

--

-------------------------------------------------------
Pascal Robert

http://www.macti.ca
http://www.linkedin.com/in/macti

Skype: MacTICanada
AIM/iChat : MacTICanada

_______________________________________________
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

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: 	http://codeferous.com
blog: 	http://davidleber.net
profile:	http://www.linkedin.com/in/davidleber
twitter:	http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org





_______________________________________________
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: Deploying App built with Eclipse - where did the .CMD go?
      • From: Pascal Robert <email@hidden>
References: 
 >Re: Deploying App built with Eclipse - where did the .CMD go? (From: Pascal Robert <email@hidden>)
 >Re: Deploying App built with Eclipse - where did the .CMD go? (From: David Griffith <email@hidden>)
 >Re: Deploying App built with Eclipse - where did the .CMD go? (From: David LeBer <email@hidden>)

  • Prev by Date: Re: Deploying App built with Eclipse - where did the .CMD go?
  • Next by Date: Re: Deploying App built with Eclipse - where did the .CMD go?
  • Previous by thread: Re: Deploying App built with Eclipse - where did the .CMD go?
  • Next by thread: Re: Deploying App built with Eclipse - where did the .CMD go?
  • Index(es):
    • Date
    • Thread