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

Build Failed during the Setup #5

Open
shipcod3 opened this issue Aug 2, 2017 · 4 comments
Open

Build Failed during the Setup #5

shipcod3 opened this issue Aug 2, 2017 · 4 comments

Comments

@shipcod3
Copy link

shipcod3 commented Aug 2, 2017

Hello,

I am having trouble with what to edit when using the command ant build:

Buildfile: /Users/jjt/Pentest/cantact-app/build.xml

download:

BUILD FAILED
/Users/jjt/Pentest/cantact-app/build.xml:7: The following error occurred while executing this line:
/Users/jjt/Pentest/cantact-app/nbproject/build-impl.xml:42: Cannot find NetBeans build harness. 
Check that nbplatform.default.netbeans.dest.dir and nbplatform.default.harness.dir are defined. 
On a developer machine these are normally defined in ${user.properties.file}=${netbeans.user}/build.properties 
but for automated builds you should pass these properties to Ant explicitly. 
You may instead download the harness and platform: -Dbootstrap.url=.../tasks.jar -Dautoupdate.catalog.url=.../updates.xml

Total time: 0 seconds

I have netbeans installed and would like to know more what should I edit in the build.xml in order to specify the CLASSPATH.

@whyfuture
Copy link

Open netbeans and start cantact as project. It will write proper classpath, but it doesn't work afterwards :/

@ghost
Copy link

ghost commented Sep 28, 2017

Resolved this error with specification of the nbplatform.default.harness.dir and nbplatform.active.dir.
Reference: #7

@mounish-p
Copy link

@mancoast i'm super new to the netbean stuff, i din't undertsand what you said actually,
can you help me out to modify those and build it?

@luisrayas3
Copy link

Open netbeans and start cantact as project. It will write proper classpath, but it doesn't work afterwards :/

This was the fix for me. Thanks 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants