Discussion:
Compile Error while building 3.4 source package javax.help missing.
Abrar Malang
2002-10-16 18:07:20 UTC
Permalink
This is part of the message before my build fails. How can I sort this ?

all-core/javahelp:
[echo] Building module core/javahelp...

compile:
[javac] Compiling 9 source files to
E:\netbeans\nb_all\core\javahelp\src
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\api\javahelp\Help.
java:18: package javax.help does not exist
[javac] import javax.help.HelpSet;
[javac] ^
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\modules\javahelp\A
bstractHelp.java:21: package javax.help does not exist
[javac] import javax.help.HelpSet;
[javac] ^
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\modules\javahelp\H
elpConstants.java:18: package javax.help does not exist
[javac] import javax.help.HelpSet;


...
...
...


[javac] javax.help.Map.ID home = hs.getHomeID();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 46 errors

BUILD FAILED

E:\netbeans\nb_all\core\javahelp\build.xml:30: Compile failed, messages
should h
ave been provided.

Total time: 7 seconds


Have I missed this javax.help library ? Anybody no how to sort this ?

Thanks...
Abrar Malang
2002-10-16 18:59:29 UTC
Permalink
The command

ant -Dbinroot=../../nbextra -Dmoduleconfig=platform

ends in complilation error with build failed

but just the command

ant

builds successfully.. wonder why ?
Post by Abrar Malang
This is part of the message before my build fails. How can I sort this ?
[echo] Building module core/javahelp...
[javac] Compiling 9 source files to
E:\netbeans\nb_all\core\javahelp\src
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\api\javahelp\Help.
java:18: package javax.help does not exist
[javac] import javax.help.HelpSet;
[javac] ^
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\modules\javahelp\A
bstractHelp.java:21: package javax.help does not exist
[javac] import javax.help.HelpSet;
[javac] ^
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\modules\javahelp\H
elpConstants.java:18: package javax.help does not exist
[javac] import javax.help.HelpSet;
...
...
...
[javac] javax.help.Map.ID home = hs.getHomeID();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 46 errors
BUILD FAILED
E:\netbeans\nb_all\core\javahelp\build.xml:30: Compile failed, messages
should h
ave been provided.
Total time: 7 seconds
Have I missed this javax.help library ? Anybody no how to sort this ?
Thanks...
Rudolf Balada
2002-10-16 19:07:56 UTC
Permalink
Post by Abrar Malang
The command
ant -Dbinroot=../../nbextra -Dmoduleconfig=platform
ends in complilation error with build failed
but just the command
ant
builds successfully.. wonder why ?
It's caused only in submodules where the *relative* path to nbextra is
not valid ;-(. This will not be fixed, you have to use absolute path to
nbextra or not specify -Dbinroot on commandline.

-Rudolf
Post by Abrar Malang
Post by Abrar Malang
This is part of the message before my build fails. How can I sort this ?
[echo] Building module core/javahelp...
[javac] Compiling 9 source files to
E:\netbeans\nb_all\core\javahelp\src
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\api\javahelp\Help.
java:18: package javax.help does not exist
[javac] import javax.help.HelpSet;
[javac] ^
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\modules\javahelp\A
bstractHelp.java:21: package javax.help does not exist
[javac] import javax.help.HelpSet;
[javac] ^
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\modules\javahelp\H
elpConstants.java:18: package javax.help does not exist
[javac] import javax.help.HelpSet;
...
...
...
[javac] javax.help.Map.ID home = hs.getHomeID();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 46 errors
BUILD FAILED
E:\netbeans\nb_all\core\javahelp\build.xml:30: Compile failed,
messages should h
ave been provided.
Total time: 7 seconds
Have I missed this javax.help library ? Anybody no how to sort this ?
Thanks...
Rudolf Balada
2002-10-16 19:04:15 UTC
Permalink
Abrar,

it looks like you're missing extra binaries. Download them from
http://www.netbeans.org/devhome/download.html and unpack the extra
binaries package in E:\netbeans\nbextra directory. If you did that,
check if E:\netbeans\nbextra\nbbuild\lib\jhall.jar exists. If not, your
extra binaries are corrupted.

Otherwise try to follow instructions at
<http://www.netbeans.org/platform/docs/buildAndRun.html#build>

-Rudolf
Post by Abrar Malang
This is part of the message before my build fails. How can I sort this ?
[echo] Building module core/javahelp...
[javac] Compiling 9 source files to
E:\netbeans\nb_all\core\javahelp\src
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\api\javahelp\Help.
java:18: package javax.help does not exist
[javac] import javax.help.HelpSet;
[javac] ^
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\modules\javahelp\A
bstractHelp.java:21: package javax.help does not exist
[javac] import javax.help.HelpSet;
[javac] ^
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\modules\javahelp\H
elpConstants.java:18: package javax.help does not exist
[javac] import javax.help.HelpSet;
...
...
...
[javac] javax.help.Map.ID home = hs.getHomeID();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 46 errors
BUILD FAILED
E:\netbeans\nb_all\core\javahelp\build.xml:30: Compile failed, messages
should h
ave been provided.
Total time: 7 seconds
Have I missed this javax.help library ? Anybody no how to sort this ?
Thanks...
Abrar Malang
2002-10-16 19:14:53 UTC
Permalink
Ah ! now I see it . Thanks Rudolf....

I was following DominicsNBAppTutorialSlightlyUpdated HowTo document on
the http://openide.netbeans.org/servlets/ProjectDownloadList page...

The Qucik start with ant guide mentions that we need to use
-Dbinroot=/full/path/to/nbextra

Thanks
Abrar
Post by Rudolf Balada
Post by Abrar Malang
The command
ant -Dbinroot=../../nbextra -Dmoduleconfig=platform
ends in complilation error with build failed
but just the command
ant
builds successfully.. wonder why ?
It's caused only in submodules where the *relative* path to nbextra is
not valid ;-(. This will not be fixed, you have to use absolute path to
nbextra or not specify -Dbinroot on commandline.
-Rudolf
Post by Abrar Malang
Post by Abrar Malang
This is part of the message before my build fails. How can I sort this ?
[echo] Building module core/javahelp...
[javac] Compiling 9 source files to
E:\netbeans\nb_all\core\javahelp\src
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\api\javahelp\Help.
java:18: package javax.help does not exist
[javac] import javax.help.HelpSet;
[javac] ^
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\modules\javahelp\A
bstractHelp.java:21: package javax.help does not exist
[javac] import javax.help.HelpSet;
[javac] ^
[javac]
E:\netbeans\nb_all\core\javahelp\src\org\netbeans\modules\javahelp\H
elpConstants.java:18: package javax.help does not exist
[javac] import javax.help.HelpSet;
...
...
...
[javac] javax.help.Map.ID home = hs.getHomeID();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 46 errors
BUILD FAILED
E:\netbeans\nb_all\core\javahelp\build.xml:30: Compile failed,
messages should h
ave been provided.
Total time: 7 seconds
Have I missed this javax.help library ? Anybody no how to sort this ?
Thanks...
Loading...