Hi,
My development environment is Windows XP. I installed Maven, checked out
Felix, built and run it with success.
But I have an issue with integration in eclipse environment. Clemens has
described it very friendly way. I'm doing something wrong?
What is the value of M2_REPO (Repository of Maven) variable from the
following lines?
Best regards,
Yalcin
> Hi,
> I run Felix inside Eclipse. It is very useful to debug bundles.
> To do it, follow the following process :
> - Get the Felix Trunk projects, and compile the trunk
> - In the org.apache.felix.main subproject, launch mvn
> eclipse:eclipse (it create an eclipse project according to the pom.xml)
> - In Eclipse, add the variable M2_REPO (Window - Preference - Java
> - Build Path - Classpath Variable), this variable point inside your
> maven repository
> - Import the project org.apache.felix.main (Import existing project
> in the workspace)
> - Add the bin/felix.jar file inside the project build path.
> - Create a run configuration :
> - project = org.apache.felix.main
> - Main class = org.apache.felix.main.Main
> - check "include libraries when searching for a main class"
> - in the arguments tabs, change the working directory to :
>${workspace_loc:org.apache.felix.main}
> - Save your configration and run it
>
> When you launch this configuration in the debug mode, you will be able
> to debug your bundles.
> Clement