You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ch...@apache.org on 2006/10/04 20:09:55 UTC
svn commit: r452959 - in /incubator/servicemix/site/sm30ug:
importing-servicemix-into-eclipse.data/archetype-build-path.png
importing-servicemix-into-eclipse.data/archetype-build-path.png.jpeg
importing-servicemix-into-eclipse.html
Author: chirino
Date: Wed Oct 4 11:09:54 2006
New Revision: 452959
URL: http://svn.apache.org/viewvc?view=rev&rev=452959
Log:
Latest export from confluence
Added:
incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.data/archetype-build-path.png (with props)
incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.data/archetype-build-path.png.jpeg (with props)
Modified:
incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.html
Added: incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.data/archetype-build-path.png
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.data/archetype-build-path.png?view=auto&rev=452959
==============================================================================
Binary file - no diff available.
Propchange: incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.data/archetype-build-path.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.data/archetype-build-path.png.jpeg
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.data/archetype-build-path.png.jpeg?view=auto&rev=452959
==============================================================================
Binary file - no diff available.
Propchange: incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.data/archetype-build-path.png.jpeg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.html?view=diff&rev=452959&r1=452958&r2=452959
==============================================================================
--- incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.html (original)
+++ incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.html Wed Oct 4 11:09:54 2006
@@ -25,7 +25,6 @@
<P>The Maven website offers some additional information concerning <SPAN class="nobr"><A href="http://maven.apache.org/guides/mini/guide-ide-eclipse.html" title="Visit page outside Confluence" rel="nofollow">Maven and Eclipse<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>, for example how Maven goals can be executed from within Eclipse or alternative ways of importing projects into Eclipse.</P>
-
<H2><A name="ImportingServiceMixintoEclipse-PreInstallationRequirements"></A>Pre-Installation Requirements</H2>
<P><B>Hardware:</B></P>
@@ -275,7 +274,18 @@
</UL>
-<P>Redo this until no class/JAR is missing any more.</P></DIV>
+<P>Redo this until no class/JAR is missing any more.</P>
+
+<H3><A name="ImportingServiceMixintoEclipse-ProjectswithfailingbuildinEclipseworkspace"></A>Projects with failing build in Eclipse workspace</H3>
+
+<P>The first line of java classes in projects with failing build will look like this:</P>
+<DIV class="preformatted"><DIV class="preformattedContent">
+<PRE>package ${packageName};
+</PRE>
+</DIV></DIV>
+<P>Reason for the problem is Eclipse which considers the .java files as classes to compile. In the case of archetypes, they are just resources to be bundled, and there is no real code to compile. To tell Eclipse to not compile these archetype files, one may add an exclusion pattern to the source folder in Eclipse's build path configuration (see screenshot). This has to be done manually every time one imports the projects as the maven eclipse plug-in cannot generate this information in the .classpath files automatically. For ServiceMix 3.0, the change has to be applied in three Eclipse projects: servicemix-binding-component, servicemix-jsr181-annotated-service-unit and servicemix-service-engine.</P>
+
+<P><IMG src="importing-servicemix-into-eclipse.data/archetype-build-path.png" align="absmiddle" border="0"></P></DIV>
</DIV>
</TD>
</TR>
@@ -284,8 +294,8 @@
</DIV>
<DIV id="site-footer">
Added by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski">Georg Dembowski</A>,
- last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski">Georg Dembowski</A> on Sep 25, 2006
- (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=13740&originalId=13809">view change</A>)
+ last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski">Georg Dembowski</A> on Oct 05, 2006
+ (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=13740&originalId=13959">view change</A>)
(<A href="http://goopen.org/confluence/pages/editpage.action?pageId=13740">edit page</A>)
</DIV>