Hi all,
I would like to generate the javadoc _without_ building the IDE first,
i.e., from a pristine git clone. This is what I tried:
A)
$ (cd nbbuild/javadoctools; ant)
Fails claiming custom Ant classes have not been compiled.
B)
$ ant clean
Fails (! [1]) saying NbTestCase does not exist.
C)
$ rm -rf nbbuild/build
$ ant bootstrap
$ (cd nbbuild/javadoctools; ant)
Fails again saying NbTestCase does not exist.
D)
$ rm -rf nbbuild/build
$ ant bootstrap
$ ant add-junit
$ (cd nbbuild/javadoctools; ant)
Fails again saying NbTestCase does not exist.
Questions are:
- Am I missing something? Are there other commands to generate javadoc?
- Does "ant clean" fail for you as well? Is this a known bug?
- Any hints on how to build NbTestCase without building the whole IDE?
Do we have an ant task for that? Should this be compiled with "ant
bootstrap" as well?
- Is this a bug created with the reorganization of clusters?
Thanks,
Antonio
---
[1] Ant clean fails for me saying "NbTestCase" is not found:
[cleanall]
/home/antonio/WORK/REPOSITORIES/vieiro-incubator-netbeans/platform/openide.util.lookup/test/unit/src/org/openide/util/lookup/implspi/ServiceLoaderLineTest.java:30:
error: cannot find symbol
[cleanall] public class ServiceLoaderLineTest extends NbTestCase {
[cleanall] ^
[cleanall] symbol: class NbTestCase
[cleanall]
/home/antonio/WORK/REPOSITORIES/vieiro-incubator-netbeans/platform/openide.util.lookup/test/unit/src/org/openide/util/test/AnnotationProcessorTestUtils.java:36:
warning: [deprecation] Assert in junit.framework has been deprecated
[cleanall] import junit.framework.Assert;
[cleanall] ^
[cleanall]
/home/antonio/WORK/REPOSITORIES/vieiro-incubator-netbeans/platform/openide.util.lookup/test/unit/src/org/openide/util/test/MockLookup.java:24:
warning: [deprecation] Assert in junit.framework has been deprecated
[cleanall] import static junit.framework.Assert.*;
[cleanall] ^
[cleanall] 50 errors
[cleanall] 5 warnings
BUILD FAILED
---
[2] Building javadoc fails again saying "NbTestCase" is not found:
[subant-junit]
/home/antonio/WORK/REPOSITORIES/vieiro-incubator-netbeans/platform/openide.util.lookup/test/unit/src/org/openide/util/lookup/implspi/ServiceLoaderLineTest.java:28:
error: package org.netbeans.junit does not exist
[subant-junit] import org.netbeans.junit.NbTestCase;
[subant-junit] ^
[subant-junit]
/home/antonio/WORK/REPOSITORIES/vieiro-incubator-netbeans/platform/openide.util.lookup/test/unit/src/org/openide/util/lookup/implspi/ServiceLoaderLineTest.java:30:
error: cannot find symbol
[subant-junit] public class ServiceLoaderLineTest extends NbTestCase {
[subant-junit] ^
[subant-junit] symbol: class NbTestCase
[subant-junit]
/home/antonio/WORK/REPOSITORIES/vieiro-incubator-netbeans/platform/openide.util.lookup/test/unit/src/org/openide/util/test/AnnotationProcessorTestUtils.java:36:
warning: [deprecation] Assert in junit.framework has been deprecated
[subant-junit] import junit.framework.Assert;
[subant-junit] ^
[subant-junit]
/home/antonio/WORK/REPOSITORIES/vieiro-incubator-netbeans/platform/openide.util.lookup/test/unit/src/org/openide/util/test/MockLookup.java:24:
warning: [deprecation] Assert in junit.framework has been deprecated
[subant-junit] import static junit.framework.Assert.*;
[subant-junit] ^
[subant-junit] 50 errors
[subant-junit] 5 warnings
BUILD FAILED
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists