HBASE-4339 Improve eclipse documentation and project file generation
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1166014 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7ae726526a
commit
2fddebc27d
|
@ -446,6 +446,8 @@ Release 0.91.0 - Unreleased
|
|||
HBASE-3842 Refactor Coprocessor Compaction API
|
||||
HBASE-4312 Deploy new hbase logo
|
||||
HBASE-4327 Compile HBase against hadoop 0.22 (Joep Rottinghuis)
|
||||
HBASE-4339 Improve eclipse documentation and project file generation
|
||||
(Eric Charles)
|
||||
|
||||
TASKS
|
||||
HBASE-3559 Move report of split to master OFF the heartbeat channel
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -586,7 +586,7 @@
|
|||
</goals>
|
||||
<configuration>
|
||||
<sources>
|
||||
<source>${basedir}/target/jspc</source>
|
||||
<source>${project.build.directory}/generated-jamon</source>
|
||||
<source>${project.build.directory}/generated-sources/java</source>
|
||||
</sources>
|
||||
</configuration>
|
||||
|
|
|
@ -47,7 +47,8 @@ git clone git://git.apache.org/hbase.git
|
|||
<programlisting>
|
||||
mvn eclipse:eclipse
|
||||
</programlisting>
|
||||
... from your local HBase project directory in your workspace to generate a new <filename>.project</filename> file. Then reopen Eclipse.
|
||||
... from your local HBase project directory in your workspace to generate some new <filename>.project</filename>
|
||||
and <filename>.classpath</filename>files. Then reopen Eclipse.
|
||||
</section>
|
||||
<section xml:id="eclipse.maven.plugin">
|
||||
<title>Maven Plugin</title>
|
||||
|
@ -66,6 +67,16 @@ Unbound classpath variable: 'M2_REPO/com/github/stephenc/high-scale-lib/high-sca
|
|||
Unbound classpath variable: 'M2_REPO/com/google/guava/guava/r09/guava-r09.jar' in project 'hbase' hbase Build path Build Path Problem
|
||||
Unbound classpath variable: 'M2_REPO/com/google/protobuf/protobuf-java/2.3.0/protobuf-java-2.3.0.jar' in project 'hbase' hbase Build path Build Path Problem Unbound classpath variable:
|
||||
</programlisting>
|
||||
</section>
|
||||
<section xml:id="eclipse.m2eclipse">
|
||||
<title>Import via m2eclipse</title>
|
||||
<para>If you install the m2eclipse and import the HBase pom.xml in your workspace, you will have to fix your eclipse Build Path.
|
||||
Remove <filename>target</filename> folder, add <filename>target/generated-jamon</filename>
|
||||
and <filename>target/generated-sources/java</filename> folders. You may also remove from your Build Path
|
||||
the exclusions on the <filename>src/main/resources</filename> and <filename>src/test/resources</filename>
|
||||
to avoid error message in the console 'Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run (default) on project hbase:
|
||||
'An Ant BuildException has occured: Replace: source file .../target/classes/hbase-default.xml doesn't exist'. This will also
|
||||
reduce the eclipse build cycles and make your life easier when developing.</para>
|
||||
</section>
|
||||
<section xml:id="eclipse.issues">
|
||||
<title>Eclipse Known Issues</title>
|
||||
|
|
Loading…
Reference in New Issue