laito / cleartk

Automatically exported from code.google.com/p/cleartk
0 stars 0 forks source link

developer setup #348

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I took the following notes when I tried to follow the setup instructions 
recently.  A few qualifiers at the beginning of these paragraphs would probably 
suffice.

The following instructions were not quite correct:

You should now see the root cleartk project in your Eclipse workspace. To open 
the sub-projects for the individual ClearTK modules:

In the "Package Explorer" view, right click on the cleartk project and choose 
Import... -> Maven -> Existing Maven Projects
You should see a number of projects selected: cleartk-test-util, cleartk-util, 
etc. Click Finish.

I actually had all of the projects visible after completing the steps that 
immediately precede this step except for cleartk-type-system.  It was also 
confusing because all of the projects whose names were not the same as their 
directories were automatically selected.  I unchecked each one of these because 
they were coupled with a warning that they had already been imported.  Here is 
listed the mismatched directory/project name pairs

cleartk-test-util / ClearTK-test-util
cleartk-ml / ClearTK-ml
cleartk-snowball / cleartk-release
cleartk-opennlp-tools / cleartk-syntax-opennlp
cleartk-berkeleyparser / cleartk-syntax-berkeley
cleartk-clearparser / cleartk-syntax-dependency-clear
cleartk-maltparser / cleartk-malt

Also, the following instructions were not necessary because all of the projects 
were git aware:

Next you need to make all of these maven projects aware of the git repository.

Select all the cleartk-* projects
Right click (Context Menu) -> Team -> Share Project.
Next select ../git and click finish. You should now be able to commit and 
revert changes from within the specific cleartk project.

The instructions that followed immediately next were also unnecessary:

At this point, Eclipse will probably display a large number of compile errors. 
To get the code to compile perform the following:

In the "Package Explorer" view, right click on the cleartk project and select 
Run As -> Maven Generate Sources
In the "Package Explorer" view, select all the cleartk projects and refresh 
them File -> Refresh (F5)
If you still have compile errors, then go to Project -> Clean..., select Clean 
all projects and click Ok.

Finally, jcasgen-maven-plugin-m2e-tests doesn't compile.  It seems the main 
complaint is that JCasGenM2ETest cannot find AbstractMavenProjectTestCase.  

Original issue reported on code.google.com by phi...@ogren.info on 17 Feb 2013 at 10:54

GoogleCodeExporter commented 9 years ago
In the current master, cleartk-type-system directory is also mismatched and has 
cleartk-release project name.

Original comment by alexey.v...@gmail.com on 25 Mar 2013 at 2:33

GoogleCodeExporter commented 9 years ago
Thanks for the report. I just pushed a change that I think fixes the Eclipse 
.project name issue in revision 69a5cd52ceedabf9d95ec186fdbdaecd00688d85.

Original comment by steven.b...@gmail.com on 25 Mar 2013 at 3:43

GoogleCodeExporter commented 9 years ago

Original comment by steven.b...@gmail.com on 28 Mar 2013 at 1:34

GoogleCodeExporter commented 9 years ago
I updated the wiki to reflect the notes above.  I did not perform a fresh setup 
of my Eclipse environment and so am taking it on faith that I took good notes 
and that it will work the next time for the next person to go through these 
instructions.  

Original comment by phi...@ogren.info on 28 Mar 2013 at 8:26