Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build without Netbeans installed #452

Closed
mbastian opened this issue Nov 4, 2011 · 2 comments
Closed

Can't build without Netbeans installed #452

mbastian opened this issue Nov 4, 2011 · 2 comments
Assignees
Milestone

Comments

@mbastian
Copy link
Member

mbastian commented Nov 4, 2011

Gephi can't build without a Netbeans installed. When building, a valid 'platform' and 'harness' needs to be provided to complete the build. These locations contains the Netbeans Platform JARs and ANT targets.

That limits the ability to do automated testing and continuous integration. It also makes Netbeans necessary for building the toolkit.

@mbastian
Copy link
Member Author

mbastian commented Nov 4, 2011

The solution for this issue is to include the current Netbeans Platform 'platform' and 'harness' folder somewhere in the repo and overrides the default platform directory.

By modifying the nbproject/platform.properties with an new active dir it should completely ignore the default Netbeans installation:

nbplatform.active.dir=${suite.dir}/platform
harness.dir=${nbplatform.active.dir}/harness
cluster.path=${nbplatform.active.dir}/platform

The folder gephi/platform should contain the 'platform' and 'harness' folder.

@mbastian
Copy link
Member Author

mbastian commented Nov 4, 2011

Implemented in commit 8f21254 and commit 5b73b09.

An additional 'platform' folder now contains the latest Netbeans Platform (7.0.1) and the build.xml set it as the active platform dir so it overrides the default platform.

A 'build-all' target has been added and set as default. It builds the zip and mac distribution.

A 'download-platform' target can automatically downloads the latest version of the platform from Netbeans' servers. It is configured to also download the JUnit plug-in.

@ghost ghost assigned mbastian Nov 4, 2011
@mbastian mbastian closed this as completed Nov 6, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant