maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Kalkhoff ...@ninan.info>
Subject Re: No more source folders in webapp projects
Date Tue, 09 Sep 2008 15:01:55 GMT
On more note. After I deinstalled m2eclipse and reinstalled it,  
everything seems to be fine.

Am 09.09.2008 um 16:02 schrieb Christian Kalkhoff:

> Hi,
>
> today I reloaded the configuration by my reactor holding project in  
> eclipse (right click, Update Project Configuration) and after that  
> my source folder appeared in the war project.
>
> I further discovered, that the configuration of the reactor holding  
> project itself does not get updated. If I remove the <modules>- and  
> update the configuration, new .project and .classpath are applied.  
> Bug?
>
> Regards,
> Christian
>
> Am 05.09.2008 um 08:46 schrieb Christian Kalkhoff:
>
>> Hi Eugene,
>>
>> thank you for your reply. I did as recommended:
>>
>> - Reviewed, that the webproject has directory /src/main/java.
>> - Set explicit sourceDirectory in project´s pom.xml.
>> - Committed last changes, without .project, .classpath, .settings  
>> of course.
>> - Checked out using the Maven SCM Checkout Wizzard
>>
>> I have exactly one source folder, that´s /src/main/resources. /src/ 
>> main/java is just ignored.
>>
>> BTW: .classpath looks the same after import as it did after mvn  
>> eclipse:m2eclipse
>>
>> Regards,
>> Christian
>>
>>
>> Am 04.09.2008 um 21:29 schrieb Eugene Kuleshov:
>>
>>>
>>> Christian,
>>>
>>> Is there any reasons you can't import your projects or check them  
>>> out from
>>> version control using Maven Project import wizard in m2eclipse? See
>>> http://docs.codehaus.org/display/M2ECLIPSE/Importing+Maven+projects
>>>
>>> As one of m2eclipse developers, I would NOT recommend using
>>> eclipse:m2eclipse.
>>>
>>> By the way, it is odd that you are using Ganymede, which is WTP  
>>> 3.0 and
>>> specified WTP 1.5 in the command line...
>>>
>>> regards,
>>> Eugene
>>>
>>>
>>>
>>> Christian Kalkhoff-3 wrote:
>>>>
>>>> since some time all my maven generated eclipse configs for webapps
>>>> (<packaging>war</packaging>, including m2 plugin generated  
>>>> configs, do
>>>> not contain source entries for /src/main/java.
>>>>
>>>> I use maven 2.0.9, Eclipse ganymede, m2eclipse 0.9.5.20080717-1821,
>>>> maven eclipse plugin 2.5.1.
>>>>
>>>> See the generated .classpath from mvn -Dwtpversion=1.5
>>>> eclipse:m2eclipse:
>>>>
>>>> <classpath>
>>>> <classpathentry kind="src" path="src/main/resources" excluding="**/
>>>> *.java"/>
>>>> <classpathentry kind="output" path="target/classes"/>
>>>> <classpathentry kind="con"
>>>> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>>>> <classpathentry kind="con"
>>>> path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
>>>> </classpath>
>>>>
>>>> See the generated .classpath from mvn -Dwtpversion=1.5  
>>>> eclipse:eclipse:
>>>>
>>>> <classpath>
>>>> <classpathentry kind="src" path="src/main/resources" excluding="**/
>>>> *.java"/>
>>>> <classpathentry kind="output" path="target/classes"/>
>>>> <classpathentry kind="con"
>>>> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>>>> <classpathentry kind="var" path="M2_REPO/org/hibernate/ejb3-
>>>> persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar"/>
>>>> [...]
>>>> </classpath>
>>>>
>>>> None contains  <classpathentry kind="src" path="src/main/java" />.
>>>>
>>>> Do you have any clue what´s happing here? Bug?
>>>>
>>>
>>> -- 
>>> View this message in context: http://www.nabble.com/No-more-source-folders-in-webapp-projects-tp19313032p19318286.html
>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message