Hi,

I solved the problem of building NiFi in Windows with NetBeans.

The problem I had was caused by having a directory in my project path that
had a space in it.  The NiFi build stops at the 'nifi-properties' build
because it can't handle a space character in any part of the path leading
up to the various properties files.  I changed the directory in the path to
not include a space and everything built fine.


Regards,
John


On Wed, Jun 17, 2015 at 11:10 AM, John Clark <[email protected]>
wrote:

> Hi,
>
> I did get the build to work on a Linux machine (Centos)...the problem I
> had with the ce.gluu.info on one machine is probably caused by my having
> installed 'gluu' previously and it named my host 'ce.gluu.info' and I
> didn't realize that this had happened.
>
> Any info on windows builds with NetBeans would still be appreciated.
>
> Thank you!
>
> Regards,
> John Clark
>
>
> On Tue, Jun 16, 2015 at 4:39 PM, John Clark <[email protected]>
> wrote:
>
>> Hi,
>>
>>
>> I’m trying to build NiFi from source and have run into a couple problems
>> and was hoping that you could point me to documentation or answers that
>> might help.
>>
>> I’ve tried to build on Linux and also on Windows with NetBeans and have
>> had problems on both systems.
>>
>> * Linux Build:*
>>
>> On Linux I used the NiFi ‘Quickstart’ documentation and following the
>> documentation I:
>>
>>
>>    1. Successfully downloaded the code using GIT.
>>    2. Set MAVEN_OPTS="-Xms1024m -Xmx3076m -XX:MaxPermSize=256m"
>>    3. Successfully built the nifi-parent using 'mvn clean install.
>>    4. Successfully built the nifi-nar-maven-plugin using 'mvn clean
>>    install'
>>    5. Attempted to build nifi using mvn -T C2.0 clean install but the
>>    build resulted in a number of successes and a number of errors.
>>    6. The errors in the NiFi build seem to revolve around this following
>>    statement: "java.net.UnknownHostException: ce.gluu.info: ce.gluu.info:
>>    Name or service not known.
>>
>> Attached is a text file that contains the output of the Linux build.
>>
>> *Windows Build:*
>>
>> I'm trying to build on Windows using NetBeans and the first problem may
>> be that you don't support this kind of build.
>>
>>
>>    1. I use the team GIT Clone option to have NetBeans download the
>>    projects from the same GIT repository. This appears to work fine.
>>    2. I build nifi-parent with success.
>>    3. I build the nifi-nam-maven-plugin with success.
>>    4. When I try to build the nifi project I only get as far as the NiFi
>>    properties
>>
>> I've attached a text file that has the NetBeans build output.
>> *I haven't started to dig into the error notations in detail yet. I do
>> notice that in the case of the build failure of 'nifi-properties' it seems
>> to be unable to find in
>> 'incubator-nifi\nifi\nifi-commons\nifi-properties\target\test-classes\NiFiProperties\conf\'
>> any of the three files, 'nifi.blank.properties', 'nifi.missing.properties
>> and 'nifi.properties'.  But when I look in that directory all of those
>> files exist and have data.*
>>
>> *I'm wondering if you have any advice, in general about building with
>> NetBeans on Windows.*
>>
>> Thanks and Regards,
>> John
>>
>>
>>
>>
>>
>>
>
>

Reply via email to