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




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 protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/gsbrown%40umich.edu
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to