https://bz.apache.org/bugzilla/show_bug.cgi?id=63381
Bug ID: 63381
Summary: Suggested change to "How to build" instructions
Product: POI
Version: 4.0.x-dev
Hardware: PC
Status: NEW
Severity: enhancement
Priority: P2
Component: SS Common
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
After downloading the POI git mirror into Eclipse, I struggled for a couple of
weeks with building the project. Now having done this successfully, I have
some suggested additions to the "Working with Eclipse" section of
https://poi.apache.org/devel/index.html ("Apache POI - How to Build").
The current text reads as
"Apache POI includes a pre-defined Eclipse project file which can be used to
quickly get set up in the Eclipse IDE.
In order to get started, first build Apache POI using Ant as described above to
get all required 3rd party libraries downloaded.
Then import the project in Eclipse via File->Import->Existing Projects into
Workspace.
Note: when executing junit tests from within Eclipse, you might need to set the
system property "POI.testdata.path" to the actual location of the 'test-data'
directory to make the test framework find the required test-files. A simple
value of 'test-data' usually works."
I suggest that this be changed to the following:
"Apache POI includes a pre-defined Eclipse project file which can be used to
quickly get set up in the Eclipse IDE.
First make sure that the location of javac.exe is in your shell's path.
Next, open Eclipse and create either a local SVN repository, or a copy of the
Git repository, and import the project into Eclipse.
Right-click on "build.xml", and select "Run As / Ant Build...". The "Edit
Configuration" dialog should appear. In the "Targets" tab, select the
"Compile" target and click on "Run".
Note: when executing junit tests from within Eclipse, you might need to set the
system property "POI.testdata.path" to the actual location of the 'test-data'
directory to make the test framework find the required test-files. A simple
value of 'test-data' usually works."
This text could be refined by more detailed instructions on creating a SVN or
Git repository.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]