• 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: WOLips + Maven
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOLips + Maven


  • Subject: Re: WOLips + Maven
  • From: G Brown <email@hidden>
  • Date: Tue, 09 Oct 2012 13:30:03 -0400

Hi,

Eclipse has a .project file. If you just bring in a maven project into Eclispse, it is lacking some info about the project.

Specifically, your project build section should look something  like:

<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.objectstyle.wolips.incrementalbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.objectstyle.wolips.incrementalframeworknature</nature>
</natures>

I am guessing you are missing some org.objectstyle.wolips.incrementalbuilder stuff. I went through this.

Check/edit your .project file.

I would make a run config for it, the default run config should work after eclipse knows what kind of project you have.


G Brown
email@hidden




On Oct 9, 2012, at 11:46 AM, Gintautas Sulskus wrote:

Hello everyone,

I've posted this message in wonder-disc group already, but Lachlan Deck suggested this group is more active.
Hopefully you don't mind for re-posting.

QUESTION_1.
I wanted to ask you, is it possible to have a working combination 
of WOLips and Maven3 for development and deployment?

I have 2 projects. The only difference between them is the classpath:
1st (OLD), working project, has references to WOFramework/* WebObjects/Wonder framework and custom jar entries.
2nd (NEW), problematic project, has got only jar entries for everything.

What I want to achieve is:
1. dependency management in pom.xml 
  - OK (everything rests in Maven repos)
2. "Existing Maven project" import to Eclipse 
  - OK (imports and builds without errors)
3. building woapplication with maven 
  - OK (builds and runs)
4. development from Eclipse 
  - DOESN'T WORK

Hm, I followed the instructions (found on http://lists.apple.com/archives/webobjects-dev/2012/Sep/msg00428.html) , but added only "build/myproject.woa/Contents/Resources/Java" dir to run configuration classpath. Didn't help.

QUESTION_2.
Should I also include my WebObjects/Wonder projects in run conf? WOLips properties file points to their location though.
Not sure where to start looking for mistakes. Advices are very appreciated! 

Thanks!

Best Regards,
Gintas
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: WOLips + Maven
      • From: Gintautas Sulskus <email@hidden>
References: 
 >WOLips + Maven (From: Gintautas Sulskus <email@hidden>)

  • Prev by Date: Re: Migrations in parallel code branches
  • Next by Date: Re: Generate a pdf with multiple page.
  • Previous by thread: WOLips + Maven
  • Next by thread: Re: WOLips + Maven
  • Index(es):
    • Date
    • Thread