start make from NetBeans - Please help!
Dmitri Trembovetski
Dmitri.Trembovetski at Sun.COM
Tue Apr 7 12:41:01 PDT 2009
I have a .cmd file "nb6.5.1.cmd" which looks something like this:
-----
@rem set path to cywgin or whatever
@set PATH=c:\devtools\cygwin;%PATH%
@rem setup VS2003 build env
@call C:\devtools\VS2003\Vc7\bin\vcvars32.bat
@start C:\DevTools\netbeans6.5.1\bin\netbeans.exe
-J-Dnetbeans.winsys.statusLine.in.menuBar=true
-----
I have a shortcut to this cmd file, with "Run: minimized" set in the Shortcut
tab so that I don't see the cmd window when it's launched.
Thanks,
Dmitri
Kelly O'Hair wrote:
> Sorry, I won't be much help on this.
>
> My last experience on Windows, CYGWIN and NetBeans was that you needed to
> start NetBeans from a CYGWIN shell to get NetBeans to have things like
> 'uname' in your PATH.
>
> I don't think you can start NetBeans by double-clicking the icon, because
> it won't pick up the CYGWIN environment properly, but maybe someone more
> Windows NetBeans savy can provide some help on this.
>
> -kto
>
> Ulf Zibis wrote:
>> Hi Kelly,
>>
>> I have tried to start make from NetBeans using build target, and got
>> some errors:
>>
>> Entering directory `C:\Projects\OpenJDK7\jdk\make/java/nio'
>> make: uname: Command not found
>> make: logname: Command not found
>> ../../common/Defs.gmk:188: ../../../make/common/Defs-.gmk: No such
>> file or directory
>> make: -p: Command not found
>> make: -p: Command not found
>> make: +%Y: Command not found
>> make: *** No rule to make target `../../../make/common/Defs-.gmk'. Stop.
>> C:\Projects\OpenJDK7\jdk\make\netbeans\charset\build.xml:39: The
>> following error occurred while executing this line:
>> C:\Projects\OpenJDK7\jdk\make\netbeans\common\make.xml:61: exec
>> returned: 2
>> BUILD FAILED (total time: 5 seconds)
>>
>> Can you please give me some hint, what's going wrong here?
>>
>> Please see my project files in attachment.
>>
>> -Ulf
>>
More information about the nb-projects-dev
mailing list