You cygwin environment is missing uname(1), which could possibly trip up ant. See if installing it makes a difference, cf. this stanza of the ant script:
:
case "`uname`" in
  CYGWIN*) cygwin=true ;;
  Darwin*) darwin=true*
*:
its absence would make the cygwin=true setting fail...

Thanks,
Dag


On 25. april 2014 04:24, rsjay1976 . wrote:
Hi,
When trying to build source i am facing the following issue.. running on java6 on windows 7 server..

$ java -version
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode)


$ ant -quiet buildsource
/cygdrive/c/Derby/apache-ant-1.7.0/bin/ant: line 83: uname: command not found
cygwin warning:
  MS-DOS style path detected: C:\Derby\apache-ant-1.7.0
  Preferred POSIX equivalent is: /cygdrive/c/Derby/apache-ant-1.7.0
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
[javac] C:\derby\trunk\generated\java\org\apache\derby\iapi\services\cache\C lassSizeCatalogImpl.java:19: cannot find symbol
    [javac] symbol: class ClassSizeCatalog
    [javac] class ClassSizeCatalogImpl extends ClassSizeCatalog
    [javac]                                    ^
[javac] C:\derby\trunk\generated\java\org\apache\derby\impl\sql\compile\SQLP arser.java:32: package org.apache.derby.catalog does not exist
    [javac] import org.apache.derby.catalog.AliasInfo;
    [javac]                                ^
[javac] C:\derby\trunk\generated\java\org\apache\derby\impl\sql\compile\SQLP arser.java:33: package org.apache.derby.catalog does not exist
    [javac] import org.apache.derby.catalog.TypeDescriptor;
    [javac]                                ^


Reply via email to