db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Van Couvering (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-197) Add tip for Windows users in BUILDING.txt file regarding file paths in the ant.properties file
Date Tue, 17 May 2005 21:21:31 GMT
     [ http://issues.apache.org/jira/browse/DERBY-197?page=comments#action_65618 ]
     
David Van Couvering commented on DERBY-197:
-------------------------------------------

Yes, I totally agree with Edward's comment.  If you look at the patch, this is what I recommend:
use forward slashes.  The change is more to direct Windows users *away* from back-slashes,
and also to help guide them if they get the infamous "cannot find java.lang in boot classpath"
error.

David

> Add tip for Windows users in BUILDING.txt file regarding file paths in the ant.properties
file
> ----------------------------------------------------------------------------------------------
>
>          Key: DERBY-197
>          URL: http://issues.apache.org/jira/browse/DERBY-197
>      Project: Derby
>         Type: Improvement
>   Components: Documentation
>     Reporter: John Sisson
>     Assignee: David Van Couvering
>     Priority: Trivial
>  Attachments: DERBY-197.diff
>
> In the section 3.2, step 2, where the user is instructed to add the j14lib and j13lib
properties to the ant.properties file, it would be worth reminding the user that on windows,
the file seperators need to be escaped.  This is something most windows users will know, but
it can be easily forgotten, especially when in other parts of the instructions you don't need
to escape paths (e.g. when setting the path).
> For example, the following works:
> j14lib=C:\\j2sdk1.4.2_06\\jre\\lib
> j13lib=C:\\jdk1.3.1_14\\jre\\lib
> The following doesn't:
> j14lib=C:\j2sdk1.4.2_06\jre\lib
> j13lib=C:\jdk1.3.1_14\jre\lib
> and causes the following errors:
> compile_reference:
>     [javac] Compiling 9 source files to D:\OpenSourceJava\derby_trunk\trunk\classes
>     [javac] Found 2 system errors:
>     [javac] *** Error: Could not find package "java/util" in:
>     [javac]                 D:\OpenSourceJava\derby_trunk\trunk\tools\java\tools\java\empty.jar
>     [javac]                 C:\j2sdk1.4.2_06\jre\lib\ext\dnsns.jar
>     [javac]                 C:\j2sdk1.4.2_06\jre\lib\ext\ldapsec.jar
>     [javac]                 C:\j2sdk1.4.2_06\jre\lib\ext\localedata.jar
>     [javac]                 C:\j2sdk1.4.2_06\jre\lib\ext\sunjce_provider.jar
>     [javac]                 D:\OpenSourceJava\derby_trunk\trunk\classes
>     [javac]                 D:\OpenSourceJava\derby_trunk\trunk\tools\java\jdbc2_0-stdext.jar
>     [javac]                 D:\OpenSourceJava\derby_trunk\trunk\java\engine
>     [javac]                 .
>     [javac] *** Error: Could not find package "java/lang" in:
>     [javac]                 D:\OpenSourceJava\derby_trunk\trunk\tools\java\tools\java\empty.jar
>     [javac]                 C:\j2sdk1.4.2_06\jre\lib\ext\dnsns.jar
>     [javac]                 C:\j2sdk1.4.2_06\jre\lib\ext\ldapsec.jar
>     [javac]                 C:\j2sdk1.4.2_06\jre\lib\ext\localedata.jar
>     [javac]                 C:\j2sdk1.4.2_06\jre\lib\ext\sunjce_provider.jar
>     [javac]                 D:\OpenSourceJava\derby_trunk\trunk\classes
>     [javac]                 D:\OpenSourceJava\derby_trunk\trunk\tools\java\jdbc2_0-stdext.jar
>     [javac]                 D:\OpenSourceJava\derby_trunk\trunk\java\engine
>     [javac]                 .
> BUILD FAILED
> D:\OpenSourceJava\derby_trunk\trunk\build.xml:256: Following error occured while executing
this line
> D:\OpenSourceJava\derby_trunk\trunk\java\engine\build.xml:57: Following error occured
while executing this line
> D:\OpenSourceJava\derby_trunk\trunk\java\engine\org\apache\derby\iapi\reference\build.xml:32:
Compile failed; see the compiler error
>  output for details.
> Total time: 3 seconds

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message