Re: Deploying App built with Eclipse - where did the .CMD go?
Re: Deploying App built with Eclipse - where did the .CMD go?
- Subject: Re: Deploying App built with Eclipse - where did the .CMD go?
- From: Pascal Robert <email@hidden>
- Date: Wed, 4 Nov 2009 21:09:09 -0500 (EST)
... 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