A little late, but I can confirm the same issue on ccnet 1.6.7981.1.

We are (ab)using ccnet for Android builds using gradle 1.1.0 and NDK v10. 
The build fails miserably when the Android NDK make file expects "normal" 
case of shell variables. Looks like make is case sensitive while regular 
Windows shell scripts are not.

I worked around the issue by hacking the ndk-build.cmd file and pre-pending 
this bit:

IF DEFINED ccnetproject (
  ECHO Applying Environment variable hack for CC.NET.
  SET OS2=%os%
  SET OS=
  REM SET PATH=%path%
  SET TEMP2=%temp%
  SET TEMP=
)


IF DEFINED ccnetproject (
  SET OS=%OS2%
  SET OS2=
  SET TEMP=%TEMP2%
  SET TEMP2=
)


Since shell scripts are case insensitive a temporary copy for OS and TEMP 
variables is made first and then the lower case variables cleared to 
un-define them. Next the reverse is done into upper case variables. It 
feels wrong to do this and modifying the Android NDK seems even more 
wrong... But the build is now working.

Has this issue been resolved in later releases?

Regards,
Ales.

On Friday, June 4, 2010 at 2:56:40 AM UTC+2, Arieh Schneier wrote:
>
> Has anyone else had a chance to try my test case to see if you can 
> replicate it? 
>
> Thanks, 
> Arieh 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ccnet-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to