cantact-app icon indicating copy to clipboard operation
cantact-app copied to clipboard

Build Failed during the Setup

Open shipcod3 opened this issue 7 years ago • 4 comments

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.

shipcod3 avatar Aug 02 '17 17:08 shipcod3

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

whyfuture avatar Aug 07 '17 14:08 whyfuture

Resolved this error with specification of the nbplatform.default.harness.dir and nbplatform.active.dir. Reference: https://github.com/linklayer/cantact-app/pull/7

ghost avatar Sep 28 '17 19:09 ghost

@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?

mounish-p avatar Oct 13 '17 14:10 mounish-p

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 🙏

luisrayas3 avatar Dec 12 '23 22:12 luisrayas3