You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "rsjay1976 ." <rs...@gmail.com> on 2014/04/25 04:24:49 UTC

Build Issue

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]                                ^

Re: Build Issue

Posted by "rsjay1976 ." <rs...@gmail.com>.
Thanks all,
I just restarted cygwin and the build went thru.. Not sure what was causing
the issue earlier.

With Regards
Jayaram


On Fri, Apr 25, 2014 at 8:31 PM, Dag H. Wanvik <da...@oracle.com>wrote:

>  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]                                ^
>
>
>

Re: Build Issue

Posted by "Dag H. Wanvik" <da...@oracle.com>.
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]                                ^
>


Re: Build Issue

Posted by Rick Hillegas <ri...@oracle.com>.
The parser build targets aren't very fault tolerant. Try "ant clobber" 
followed by "ant buildsource".

Hope this helps,
-Rick

On 4/24/14 7:24 PM, 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]                                ^
>