Eugene,
 
this is the exception I get when configuring my 'inplace' profile and update 
the project configuration in the m2e prefs dialog:
 
Java Model Exception: Java Model Status [Source folder 'src/main/java' in 
project 'rwo-web' cannot output to library 'src/main/webapp/WEB-INF/classes']
at 
org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:766)
at 
org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2815)
at 
org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2831)
at 
org.maven.ide.eclipse.internal.project.JavaProjectConfigurator.updateSourceFolders(JavaProjectConfigurator.java:161)
at 
org.maven.ide.eclipse.internal.project.JavaProjectConfigurator.configure(JavaProjectConfigurator.java:105)
at 
org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:194)
at 
org.maven.ide.eclipse.internal.preferences.MavenProjectPreferencePage$1.runInWorkspace(MavenProjectPreferencePage.java:177)
at 
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


________________________________

Van: Kristof Vanbecelaere [mailto:[EMAIL PROTECTED]
Verzonden: do 10/07/2008 19:32
Aan: [email protected]
Onderwerp: RE: [m2eclipse-user] inplace behaviour


Eugene,
 
right, this is what I want. If only I could get it to work using 0.9.4. Would 
this require 0.9.5 by any chance?
 
Thanks,
Kristof

________________________________

Van: Eugene Kuleshov [mailto:[EMAIL PROTECTED]
Verzonden: do 10/07/2008 17:07
Aan: [email protected]
Onderwerp: Re: [m2eclipse-user] inplace behaviour



Kristof,

  Please note that you can change such mapping conditionally, using
Maven profiles. So, CI would run using regular settings and in Eclipse
you can activate special profile to support in-place deployment. This
would be quite similar to the "in-place target" checkbox that you are
suggesting, but more generic then option only required for the web
projects. Also see my blog post on a similar topic at
http://www.jroller.com/eu/entry/configuring_separate_maven_output_folders

  However if you want an explicit support, please open a separate issue
and provide information Igor suggested, including the test project(s).

  Thanks

  Eugene


Kristof Vanbecelaere wrote:
> I should have done my homework first. It seems to be a fairly old
> request: http://jira.codehaus.org/browse/MNGECLIPSE-191
>
> The suggestion (in the jira comment thread) to simply change the pom is
> something I do not wish to do as the pom is also the recipe for CI
> builds.
>
> Any chance of reopening that ticket?
>
> For all I care, you could just add a checkbox "in place target" that
> would cause m2e to target both the target directory *and*
> src/main/webapp/WEB-INF.
>
> Thanks,
> Kristof
>
> -----Original Message-----
> From: Igor Fedorenko [mailto:[EMAIL PROTECTED]
> Sent: donderdag 10 juli 2008 15:26
> To: [email protected]
> Subject: Re: [m2eclipse-user] inplace behaviour
> Sensitivity: Confidential
>
> Kristof,
>
> Can you please file enhancement request in JIRA and provide more details
>
> about expected/desired behaviour? Sample project(s) would be of great
> help.
>
> Kristof Vanbecelaere wrote:
>  
>> Hi,
>>
>> 
>>
>> Is there any way to get the same behaviour from m2e as one can get via
>>    
>
>  
>> mvn war:inplace? I want my class files to end up in
>> src/main/webapp/WEB-INF/classes and my dependencies in
>> src/main/webapp/WEB-INF/lib.
>>
>> 
>>
>> I guess this is somewhat related to the separate output directory
>>    
> issue
>  
>> discussed earlier on this list.
>>
>> 
>>
>> Thanks,
>>
>> Kristof
>>
>>    
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>  


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email




<<winmail.dat>>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to