db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rashmi Banthia" <rjai...@gmail.com>
Subject Re: Build with eclipse
Date Tue, 24 Jun 2008 10:12:59 GMT
I am using windows. I do have ant.properties file and it looks like this :

j14lib=C:\\j2sdk1.4.2_17\\jre\\lib
j15lib=C:\\Program Files\\Java\\jdk1.5.0_15\\jre\\lib
jdk16.dir=C:\\Sun\\SDK\\lib
build.compiler=modern
proceed=true
sane=false

It did work (I think) the first time I did the check out and the build.

The different property pages looks like this:
(1) Environment variable:
System Properties -> Advanced -> Environment Variables ->  User
Variable -> JAVA_HOME = C:\Program Files\Java\jdk1.5.0_15

Within Eclipse:
(2) Project Properties -> Java BuildPath -> Libraries -> JRE 1.6
(3) Project Properties -> Builders -> NewAntBuilder -> Edit ->
classpath -> user entries ->
Ant Home(Default)
Additional Tasks and Support (This includes tools.jar alongwith other
eclipse jar files)

What am I missing? I have tried using JRE 1.5 within eclipse, It didn't work.


The error message looks like this:
        [copy] Copying 1 file to
C:\namo\workspace\derby\classes\org\apache\derbyBuild
       [javac] Compiling 17 source files to C:\namo\workspace\derby\classes
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\DiskLayoutTaglet.java:24:
package com.sun.tools.doclets does not exist
       [javac] import com.sun.tools.doclets.Taglet;
       [javac]                              ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\DiskLayoutTaglet.java:25:
package com.sun.javadoc does not exist
       [javac] import com.sun.javadoc.*;
       [javac] ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\DiskLayoutTaglet.java:28:
cannot find symbol
       [javac] symbol: class Taglet
       [javac] public class DiskLayoutTaglet implements Taglet {
       [javac]                                          ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\DiskLayoutTaglet.java:113:
cannot find symbol
       [javac] symbol  : class Tag
       [javac] location: class org.apache.derbyBuild.javadoc.DiskLayoutTaglet
       [javac]     public String toString(Tag tag) {
       [javac]                            ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\DiskLayoutTaglet.java:123:
cannot find symbol
       [javac] symbol  : class Tag
       [javac] location: class org.apache.derbyBuild.javadoc.DiskLayoutTaglet
       [javac]     public String toString(Tag[] tags) {
       [javac]                            ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\EndFormatTaglet.java:23:
package com.sun.tools.doclets does not exist
       [javac] import com.sun.tools.doclets.Taglet;
       [javac]                              ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\EndFormatTaglet.java:24:
package com.sun.javadoc does not exist
       [javac] import com.sun.javadoc.*;
       [javac] ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\EndFormatTaglet.java:27:
cannot find symbol
       [javac] symbol: class Taglet
       [javac] public class EndFormatTaglet implements Taglet {
       [javac]                                         ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\EndFormatTaglet.java:112:
cannot find symbol
       [javac] symbol  : class Tag
       [javac] location: class org.apache.derbyBuild.javadoc.EndFormatTaglet
       [javac]     public String toString(Tag tag) {
       [javac]                            ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\EndFormatTaglet.java:120:
cannot find symbol
       [javac] symbol  : class Tag
       [javac] location: class org.apache.derbyBuild.javadoc.EndFormatTaglet
       [javac]     public String toString(Tag[] tags) {
       [javac]                            ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\FormatIdTaglet.java:23:
package com.sun.tools.doclets does not exist
       [javac] import com.sun.tools.doclets.Taglet;
       [javac]                              ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\FormatIdTaglet.java:24:
package com.sun.javadoc does not exist
       [javac] import com.sun.javadoc.*;
       [javac] ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\FormatIdTaglet.java:27:
cannot find symbol
       [javac] symbol: class Taglet
       [javac] public class FormatIdTaglet implements Taglet {
       [javac]                                        ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\FormatIdTaglet.java:115:
cannot find symbol
       [javac] symbol  : class Tag
       [javac] location: class org.apache.derbyBuild.javadoc.FormatIdTaglet
       [javac]     public String toString(Tag tag) {
       [javac]                            ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\FormatIdTaglet.java:124:
cannot find symbol
       [javac] symbol  : class Tag
       [javac] location: class org.apache.derbyBuild.javadoc.FormatIdTaglet
       [javac]     public String toString(Tag[] tags) {
       [javac]                            ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\PurposeTaglet.java:23:
package com.sun.tools.doclets does not exist
       [javac] import com.sun.tools.doclets.Taglet;
       [javac]                              ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\PurposeTaglet.java:24:
package com.sun.javadoc does not exist
       [javac] import com.sun.javadoc.*;
       [javac] ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\PurposeTaglet.java:27:
cannot find symbol
       [javac] symbol: class Taglet
       [javac] public class PurposeTaglet implements Taglet {
       [javac]                                       ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\PurposeTaglet.java:114:
cannot find symbol
       [javac] symbol  : class Tag
       [javac] location: class org.apache.derbyBuild.javadoc.PurposeTaglet
       [javac]     public String toString(Tag tag) {
       [javac]                            ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\PurposeTaglet.java:123:
cannot find symbol
       [javac] symbol  : class Tag
       [javac] location: class org.apache.derbyBuild.javadoc.PurposeTaglet
       [javac]     public String toString(Tag[] tags) {
       [javac]                            ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\UpgradeTaglet.java:24:
package com.sun.tools.doclets does not exist
       [javac] import com.sun.tools.doclets.Taglet;
       [javac]                              ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\UpgradeTaglet.java:25:
package com.sun.javadoc does not exist
       [javac] import com.sun.javadoc.*;
       [javac] ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\UpgradeTaglet.java:28:
cannot find symbol
       [javac] symbol: class Taglet
       [javac] public class UpgradeTaglet implements Taglet {
       [javac]                                       ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\UpgradeTaglet.java:114:
cannot find symbol
       [javac] symbol  : class Tag
       [javac] location: class org.apache.derbyBuild.javadoc.UpgradeTaglet
       [javac]     public String toString(Tag tag) {
       [javac]                            ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\UpgradeTaglet.java:123:
cannot find symbol
       [javac] symbol  : class Tag
       [javac] location: class org.apache.derbyBuild.javadoc.UpgradeTaglet
       [javac]     public String toString(Tag[] tags) {
       [javac]                            ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\DiskLayoutTaglet.java:101:
cannot find symbol
       [javac] symbol  : class Taglet
       [javac] location: class org.apache.derbyBuild.javadoc.DiskLayoutTaglet
       [javac]        Taglet t = (Taglet) tagletMap.get(tag.getName());
       [javac]        ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\DiskLayoutTaglet.java:101:
cannot find symbol
       [javac] symbol  : class Taglet
       [javac] location: class org.apache.derbyBuild.javadoc.DiskLayoutTaglet
       [javac]        Taglet t = (Taglet) tagletMap.get(tag.getName());
       [javac]                    ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\EndFormatTaglet.java:101:
cannot find symbol
       [javac] symbol  : class Taglet
       [javac] location: class org.apache.derbyBuild.javadoc.EndFormatTaglet
       [javac]        Taglet t = (Taglet) tagletMap.get(tag.getName());
       [javac]        ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\EndFormatTaglet.java:101:
cannot find symbol
       [javac] symbol  : class Taglet
       [javac] location: class org.apache.derbyBuild.javadoc.EndFormatTaglet
       [javac]        Taglet t = (Taglet) tagletMap.get(tag.getName());
       [javac]                    ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\FormatIdTaglet.java:103:
cannot find symbol
       [javac] symbol  : class Taglet
       [javac] location: class org.apache.derbyBuild.javadoc.FormatIdTaglet
       [javac]        Taglet t = (Taglet) tagletMap.get(tag.getName());
       [javac]        ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\FormatIdTaglet.java:103:
cannot find symbol
       [javac] symbol  : class Taglet
       [javac] location: class org.apache.derbyBuild.javadoc.FormatIdTaglet
       [javac]        Taglet t = (Taglet) tagletMap.get(tag.getName());
       [javac]                    ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\PurposeTaglet.java:102:
cannot find symbol
       [javac] symbol  : class Taglet
       [javac] location: class org.apache.derbyBuild.javadoc.PurposeTaglet
       [javac]        Taglet t = (Taglet) tagletMap.get(tag.getName());
       [javac]        ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\PurposeTaglet.java:102:
cannot find symbol
       [javac] symbol  : class Taglet
       [javac] location: class org.apache.derbyBuild.javadoc.PurposeTaglet
       [javac]        Taglet t = (Taglet) tagletMap.get(tag.getName());
       [javac]                    ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\UpgradeTaglet.java:102:
cannot find symbol
       [javac] symbol  : class Taglet
       [javac] location: class org.apache.derbyBuild.javadoc.UpgradeTaglet
       [javac]        Taglet t = (Taglet) tagletMap.get(tag.getName());
       [javac]        ^
       [javac] C:\namo\workspace\derby\java\build\org\apache\derbyBuild\javadoc\UpgradeTaglet.java:102:
cannot find symbol
       [javac] symbol  : class Taglet
       [javac] location: class org.apache.derbyBuild.javadoc.UpgradeTaglet
       [javac]        Taglet t = (Taglet) tagletMap.get(tag.getName());
       [javac]                    ^
       [javac] 35 errors
       [javac] Compile failed; see the compiler error output for details.

build:

build:

BUILD FAILED
C:\namo\workspace\derby\build.xml:413: The following error occurred
while executing this line:
C:\namo\workspace\derby\java\engine\org\apache\derby\loc\build.xml:36:
taskdef class org.apache.derbyBuild.MessageBuilder cannot be found




Thanks a lot,
Rashmi



On Tue, Jun 24, 2008 at 4:00 AM, Erlend Birkenes <erlend@birkenes.net> wrote:
>>
>>
>> Following articles and mailing list threads did help
>> (1) http://wiki.apache.org/db-derby/BuildingDerby
>>
>>
>>
>> Right now I am still not able to build within eclipse. I just use the
>> command prompt to run 'ant all'.
>
> It works fine for me in Eclipse (on Linux) using the directions in (1). What
> kind of errors do you get?
>
> Did you set up the ant.properties? I think I had to do that to make it work,
> but if it works with ant all it
> should probably work in Eclipse as well..
>
>
>

Mime
View raw message