• 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: webobjects with maven
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: webobjects with maven


  • Subject: Re: webobjects with maven
  • From: anon <email@hidden>
  • Date: Wed, 13 Jul 2016 02:28:26 +0200

The first archetype I did use  was crashing on "Run as WOApplication". I did try another one with "ERXApplication" and searched the mailing list for an answer. I can now start the application, but now I get the following error:

DEBUG NSLog  - <com.webobjects.appserver._private.WOComponentDefinition> No template found for component Main...

I have searched the list and could not figure out what the solution was.

Are there people out there who have WOApplication running in big WO Projects? I can see things like these getting out of control when the project gets big.

On 07/13/2016 12:21 AM, Ramsey Gurley wrote:
This is what works for me, starting from nothing.

0. Install Java8
1. Install Eclipse for Committers
2. Install WOLips and m2e plugins
3. Create ~.m2/settings.xml that points to wocommunity repository
http://maven.wocommunity.org/content/groups/public/
(I actually have a Nexus repository manager I point to, and it does this part. The wiki.wocommunity.org has an example settings.xml you can use though)
4. Add WORemote archetypes catalog in eclipse:
http://maven.wocommunity.org/service/local/repositories/snapshots/content/archetype-catalog.xml
5. Add lifecycle mappings in eclipse for any plugin executions you need eclipse to ignore.
6. File, New, Other…, Maven Project, next>>, Catalog: WORemote, Include Snapshot Archetypes
Pick the appropriate project and create.

You probably also want to search the list for JarResourceRequestHandler and some additional boilerplate to stick in your application’s didFinishLaunching() method.

On Jul 12, 2016, at 3:05 PM, anon <email@hidden> wrote:

Hello everyone,
after a 6 years hiatus from WebObjects, I am back again. Web development out there is in a sad state. I decided to give WO another try. I wanted to use maven to manage my dependencies; I like the predictability and the structure of maven instead of the free form of ant or gradle. Anyway, I was able to create a "Hello World" Application but I was not able to run it as a WOApplication. This is the error that I get:

An internal error occurred during: "Launching New_configuration".
java.lang.NullPointerException

So I was wondering whether there are people out there who use maven but can still run the application like a regular WOApp?
After going through almost all JVM Webframeworks, I believe strongly that a framework that does not have a main class that one can run and that starts fast is not worth using. Thats one of the main reason I will use WebObjects for my next project.

I  really appreciate any help.
_______________________________________________
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

    

 _______________________________________________
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: webobjects with maven
      • From: Chuck Hill <email@hidden>
References: 
 >webobjects with maven (From: anon <email@hidden>)
 >Re: webobjects with maven (From: Ramsey Gurley <email@hidden>)

  • Prev by Date: Re: Ajax request, ERXRedirect and ERXThreadStorage
  • Next by Date: Re: webobjects with maven
  • Previous by thread: Re: webobjects with maven
  • Next by thread: Re: webobjects with maven
  • Index(es):
    • Date
    • Thread