Sorry there was a missed instruction, please read the updated one here - 
https://github.com/olegz/nifi/tree/NIFI-1074/nifi-external/nifi-ide-integration

Basically you need to specify argument in ‘VM Arguments’ tab,. Something like 
this: -Dnifi.properties.file.path=<NIFI_HOME>/conf/nifi.prpperties

NOTE: NIFI_HOME is NOT the root of your workspace. It is the root of binary 
distribution. This means that if you downloaded binary and unzipped it into a 
directory, that directory would be NIFI_HOME. If you have your own build, then 
it would be 'nifi-assembly/target/nifi-0.3.1-SNAPSHOT-bin/nifi-0.3.1-SNAPSHOT/‘

So when you say "4. At the Arguments tag and Working Directory part, choose the 
option"other" and select the Nifi root project from the Workspace…” that is not 
correct, it should point to the binary distribution of NoFi.

Oleg


On Oct 27, 2015, at 10:29 AM, 林家銘 
<[email protected]<mailto:[email protected]>> wrote:

Hi

I am just checkout the nifi and want to try "nifi-ide-integration".
I have followed the instruction on the "nifi-ide-integration" github
README page.
Here is my configure
1. configure a java application run...
2. At the Main tag, choose the Project to be "nifi-ide-integration"
3. At the Main tag, choose the Main class to be "org.apache.nifi.NiFi"
4. At the Arguments tag and Working Directory part, choose the option
"other" and select the Nifi root project from the Workspace...
5. At the Source tag, click the Add button, and select "Java Project"
to add all the nifi modules.
6. Run...

The error message is
18:52:12,463  INFO main nifi.NiFi:225 - Launching NiFi...
18:52:12,475 ERROR main nifi.NiFi:229 - Failure to launch NiFi due to
java.lang.RuntimeException: Requires a system property called
'nifi.properties.file.path' and this is not set or has no value
java.lang.RuntimeException: Requires a system property called
'nifi.properties.file.path' and this is not set or has no value
at org.apache.nifi.util.NiFiProperties.getInstance(NiFiProperties.java:249)
at org.apache.nifi.NiFi.main(NiFi.java:227)

Can anyone help me?


Reply via email to