ant build failing

View: New views
14 Messages — Rating Filter:   Alert me  

ant build failing

by pamarti :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
Im trying to simply build the repository, im getting the following error. I tried to pull everything couple of times. Can anyone help me.
Thanks for all your help.
Sri

[available] DEPRECATED - <available> used to override an existing property.
[available]   Build file should not reuse the same property name for different values.

clean-cluster-flags:

-jdk-pre-preinit:

-jdk-preinit:

-jdk-warn:

-jdk-presetdef-basic:

-jdk-default:

-jdk-init:

assure-ant:

bootstrap:
     [echo] Bootstrapping NetBeans-specific Ant extensions...
    [javac] Compiling 76 source files to C:\main\nbbuild\build\antclasses
    [javac] error: error reading C:\main\apisupport.harness\external\jsearch-2.0_05.jar; error in opening zip file
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:59: package javax.help does not exist
    [javac] import javax.help.HelpSet;
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:60: package javax.help does not exist
    [javac] import javax.help.IndexItem;
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:61: package javax.help does not exist
    [javac] import javax.help.IndexView;
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:62: package javax.help does not exist
    [javac] import javax.help.NavigatorView;
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:63: package javax.help does not exist
    [javac] import javax.help.TOCItem;
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:64: package javax.help does not exist
    [javac] import javax.help.TOCView;
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:65: package javax.help does not exist
    [javac] import javax.help.TreeItem;
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:66: package javax.help does not exist
    [javac] import javax.help.TreeItemFactory;
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:168: cannot find symbol
    [javac] symbol  : class TreeItemFactory
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets
    [javac]     private final class VerifyTIFactory implements TreeItemFactory {
    [javac]                                                    ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:170: cannot find symbol
    [javac] symbol  : class HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets.VerifyTIFactory
    [javac]         private final HelpSet hs;
    [javac]                       ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:171: package javax.help does not exist
    [javac]         private final javax.help.Map map;
    [javac]                                 ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:174: cannot find symbol
    [javac] symbol  : class HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets.VerifyTIFactory
    [javac]         public VerifyTIFactory(HelpSet hs, javax.help.Map map, File navfile, boolean toc) {
    [javac]                                ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:174: package javax.help does not exist
    [javac]         public VerifyTIFactory(HelpSet hs, javax.help.Map map, File navfile, boolean toc) {
    [javac]                                                      ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:183: cannot find symbol
    [javac] symbol  : class HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets.VerifyTIFactory
    [javac]         public TreeItem createItem(String str, Hashtable hashtable, HelpSet helpSet, Locale locale) {
    [javac]                                                                     ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:183: cannot find symbol
    [javac] symbol  : class TreeItem
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets.VerifyTIFactory
    [javac]         public TreeItem createItem(String str, Hashtable hashtable, HelpSet helpSet, Locale locale) {
    [javac]                ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:201: cannot find symbol
    [javac] symbol  : class HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets.VerifyTIFactory
    [javac]         public void processPI(HelpSet helpSet, String str, String str2) {
    [javac]                               ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:218: cannot find symbol
    [javac] symbol  : class TreeItem
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets.VerifyTIFactory
    [javac]         public TreeItem createItem() {
    [javac]                ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:228: package HelpSet does not exist
    [javac]     private final class VerifyHSFactory extends HelpSet.DefaultHelpSetFactory {
    [javac]                                                        ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:232: cannot find symbol
    [javac] symbol  : class HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets.VerifyHSFactory
    [javac]         public void processMapRef(HelpSet hs, Hashtable attrs) {
    [javac]                                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:74: package javax.help does not exist
    [javac] import javax.help.HelpSet;
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:75: package javax.help does not exist
    [javac] import javax.help.HelpSetException;
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:76: package javax.help does not exist
    [javac] import javax.help.IndexItem;
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:77: package javax.help does not exist
    [javac] import javax.help.TOCItem;
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:78: package javax.help does not exist
    [javac] import javax.help.TreeItem;
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:79: package javax.help does not exist
    [javac] import javax.help.TreeItemFactory;
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:487: cannot find symbol
    [javac] symbol  : class TreeItemFactory
    [javac] location: class org.netbeans.nbbuild.CheckHelpSetsBin
    [javac]     private final class VerifyTIFactory implements TreeItemFactory {
    [javac]                                                    ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:489: cannot find symbol
    [javac] symbol  : class HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSetsBin.VerifyTIFactory
    [javac]         private final HelpSet hs;
    [javac]                       ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:490: package javax.help does not exist
    [javac]         private final javax.help.Map map;
    [javac]                                 ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:493: cannot find symbol
    [javac] symbol  : class HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSetsBin.VerifyTIFactory
    [javac]         public VerifyTIFactory(HelpSet hs, javax.help.Map map, File navfile, boolean toc) {
    [javac]                                ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:493: package javax.help does not exist
    [javac]         public VerifyTIFactory(HelpSet hs, javax.help.Map map, File navfile, boolean toc) {
    [javac]                                                      ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:502: cannot find symbol
    [javac] symbol  : class HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSetsBin.VerifyTIFactory
    [javac]         public TreeItem createItem(String str, Hashtable hashtable, HelpSet helpSet, Locale locale) {
    [javac]                                                                     ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:502: cannot find symbol
    [javac] symbol  : class TreeItem
    [javac] location: class org.netbeans.nbbuild.CheckHelpSetsBin.VerifyTIFactory
    [javac]         public TreeItem createItem(String str, Hashtable hashtable, HelpSet helpSet, Locale locale) {
    [javac]                ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:520: cannot find symbol
    [javac] symbol  : class HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSetsBin.VerifyTIFactory
    [javac]         public void processPI(HelpSet helpSet, String str, String str2) {
    [javac]                               ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:537: cannot find symbol
    [javac] symbol  : class TreeItem
    [javac] location: class org.netbeans.nbbuild.CheckHelpSetsBin.VerifyTIFactory
    [javac]         public TreeItem createItem() {
    [javac]                ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:547: package HelpSet does not exist
    [javac]     private final class VerifyHSFactory extends HelpSet.DefaultHelpSetFactory {
    [javac]                                                        ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:551: cannot find symbol
    [javac] symbol  : class HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSetsBin.VerifyHSFactory
    [javac]         public void processMapRef(HelpSet hs, Hashtable attrs) {
    [javac]                                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:126: cannot find symbol
    [javac] symbol  : class HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets
    [javac]         HelpSet hs = new HelpSet(null, hsfile.toURI().toURL());
    [javac]         ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:126: cannot find symbol
    [javac] symbol  : class HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets
    [javac]         HelpSet hs = new HelpSet(null, hsfile.toURI().toURL());
    [javac]                          ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:127: package javax.help does not exist
    [javac]         javax.help.Map map = hs.getCombinedMap();
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:129: cannot find symbol
    [javac] symbol  : class NavigatorView
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets
    [javac]         NavigatorView[] navs = hs.getNavigatorViews();
    [javac]         ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:134: cannot find symbol
    [javac] symbol  : class IndexView
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets
    [javac]             if (navs[i] instanceof IndexView) {
    [javac]                                    ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:136: cannot find symbol
    [javac] symbol  : variable IndexView
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets
    [javac]                 IndexView.parse(navfile.toURI().toURL(), hs, Locale.getDefault(), new VerifyTIFactory(hs, map, navfile, false));
    [javac]                 ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:137: cannot find symbol
    [javac] symbol  : class TOCView
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets
    [javac]             } else if (navs[i] instanceof TOCView) {
    [javac]                                           ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:139: cannot find symbol
    [javac] symbol  : variable TOCView
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets
    [javac]                 TOCView.parse(navfile.toURI().toURL(), hs, Locale.getDefault(), new VerifyTIFactory(hs, map, navfile, true));
    [javac]                 ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:145: cannot find symbol
    [javac] symbol  : variable HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets
    [javac]         HelpSet.parse(hsfile.toURI().toURL(), null, new VerifyHSFactory());
    [javac]         ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:152: package javax.help.Map does not exist
    [javac]             javax.help.Map.ID id = (javax.help.Map.ID)e.nextElement();
    [javac]                           ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:152: package javax.help.Map does not exist
    [javac]             javax.help.Map.ID id = (javax.help.Map.ID)e.nextElement();
    [javac]                                                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:220: cannot find symbol
    [javac] symbol  : class TOCItem
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets.VerifyTIFactory
    [javac]                 return new TOCItem();
    [javac]                            ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:222: cannot find symbol
    [javac] symbol  : class IndexItem
    [javac] location: class org.netbeans.nbbuild.CheckHelpSets.VerifyTIFactory
    [javac]                 return new IndexItem();
    [javac]                            ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:397: cannot find symbol
    [javac] symbol  : class HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSetsBin
    [javac]         HelpSet hs = null;
    [javac]         ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:399: cannot find symbol
    [javac] symbol  : class HelpSet
    [javac] location: class org.netbeans.nbbuild.CheckHelpSetsBin
    [javac]             hs = new HelpSet(moduleClassLoader, hsURL);
    [javac]                      ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:400: cannot find symbol
    [javac] symbol  : class HelpSetException
    [javac] location: class org.netbeans.nbbuild.CheckHelpSetsBin
    [javac]         } catch (HelpSetException ex) {
    [javac]                  ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:403: package javax.help does not exist
    [javac]         javax.help.Map map = hs.getCombinedMap();
    [javac]                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:409: package javax.help.Map does not exist
    [javac]             javax.help.Map.ID id = (javax.help.Map.ID)e.nextElement();
    [javac]                           ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:409: package javax.help.Map does not exist
    [javac]             javax.help.Map.ID id = (javax.help.Map.ID)e.nextElement();
    [javac]                                                   ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:539: cannot find symbol
    [javac] symbol  : class TOCItem
    [javac] location: class org.netbeans.nbbuild.CheckHelpSetsBin.VerifyTIFactory
    [javac]                 return new TOCItem();
    [javac]                            ^
    [javac] C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSetsBin.java:541: cannot find symbol
    [javac] symbol  : class IndexItem
    [javac] location: class org.netbeans.nbbuild.CheckHelpSetsBin.VerifyTIFactory
    [javac]                 return new IndexItem();
    [javac]                            ^
    [javac] 58 errors

BUILD FAILED
C:\main\nbbuild\build.xml:143: Compile failed; see the compiler error output for details.

Total time: 3 seconds


Re: ant build failing

by tomwheel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2/29/08, Sri <psrikiran@...> wrote:
> Hi all,
> Im trying to simply build the repository, im getting the following error. I
> tried to pull everything couple of times. Can anyone help me.
> Thanks for all your help.
> Sri
>
....     [javac] error: error reading
> C:\main\apisupport.harness\external\jsearch-2.0_05.jar;
> error in opening zip file
>

I had a similar problem last week.  I'd guess that your
jsearch-2.0_05.jar at the above path is zero length, and the
explanation is that Hg failed to get the external binaries.  I'd
further guess that's because you do not have the latest version of Hg
and/or Python.

In my case, I upgraded to the latest versions, re-ran the Hg clone
operation and everything worked OK after that.
--
Tom Wheeler
http://www.tomwheeler.com/

Looking for a new project? Get paid up to $22,500 for improving
NetBeans, creating new modules or platform-based applications.
There's still time to submit your proposal for the NetBeans Grant
program:

   http://www.netbeans.org/grant/

Re: ant build failing

by Jesse Glick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tom Wheeler wrote:
> I'd further guess that's because you do not have the latest version
> of Hg and/or Python.
>
> In my case, I upgraded to the latest versions, re-ran the Hg clone
> operation and everything worked OK after that.

FWIW I just tried to reproduce this problem by putting Hg 0.9.4 (using
Python 2.4.4) in my path, but everything still worked fine. I would love
to have the build report a meaningful error message right away in case
of misconfiguration, but I can't do that unless I can reproduce this
problem, which I have never managed to do. In particular, by the point
in the log where you see

> bootstrap:
>      [echo] Bootstrapping NetBeans-specific Ant extensions...
>     [javac] Compiling 76 source files to C:\main\nbbuild\build\antclasses

there should have already been at least the following in the bootstrap
target:

> Created dir: C:\main\nbbuild\build\antclasses
> Compiling 1 source file to C:\main\nbbuild\build\antclasses
> Registering hook in C:\main\.hg\hgrc

even if other stuff after that failed. So if you know to reproduce the
problem - in particular, why the <registerexternalhook> task is either
not compiled, not run, or run but produces no output - please file a bug
in nbbuild/mercurial.


Re: Re: ant build failing

by tomwheel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2/29/08, Jesse Glick <jesse.glick@...> wrote:

> FWIW I just tried to reproduce this problem by putting Hg 0.9.4 (using
> Python 2.4.4) in my path, but everything still worked fine. I would love
> to have the build report a meaningful error message right away in case
> of misconfiguration, but I can't do that unless I can reproduce this
> problem, which I have never managed to do.

In my case, I was using Python 2.4.3 and whatever version of Hg gets
installed with Ubuntu 6.06 LTS (can't recall which that was and I'm
not at the machine now).

I later saw a document on the Wiki that stated the minimum versions of
each tool and I was certainly not meeting those requirements.

--
Tom Wheeler
http://www.tomwheeler.com/

Looking for a new project? Get paid up to $22,500 for improving
NetBeans, creating new modules or platform-based applications.
There's still time to submit your proposal for the NetBeans Grant
program:

   http://www.netbeans.org/grant/

Re: Re: ant build failing

by Anuradha G :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I got this error ant idea ?



compile:
    [mkdir] Created dir: D:\repos\netbeans\main\jumpto\build\classes
    [javac] Compiling 19 source files to D:\repos\netbeans\main\jumpto\build\cla
sses
    [javac] D:\repos\netbeans\main\jumpto\src\org\netbeans\spi\jumpto\type\TypeP
rovider.java:216: reference to addAll is ambiguous, both method addAll(java.util
.Collection<? extends E>) in java.util.Collection<capture#820 of ? super org.net
beans.spi.jumpto.type.TypeDescriptor> and method addAll(java.util.Collection<? e
xtends E>) in java.util.List<capture#820 of ? super org.netbeans.spi.jumpto.type
.TypeDescriptor> match
    [javac]             result.addAll(typeDescriptor);
    [javac]                   ^
    [javac] 1 error
  [nbmerge] Failed to build target: all-jumpto


On Sat, Mar 1, 2008 at 2:20 AM, Tom Wheeler <tomwheel@...> wrote:
On 2/29/08, Jesse Glick <jesse.glick@...> wrote:

> FWIW I just tried to reproduce this problem by putting Hg 0.9.4 (using
> Python 2.4.4) in my path, but everything still worked fine. I would love
> to have the build report a meaningful error message right away in case
> of misconfiguration, but I can't do that unless I can reproduce this
> problem, which I have never managed to do.

In my case, I was using Python 2.4.3 and whatever version of Hg gets
installed with Ubuntu 6.06 LTS (can't recall which that was and I'm
not at the machine now).

I later saw a document on the Wiki that stated the minimum versions of
each tool and I was certainly not meeting those requirements.

--
Tom Wheeler
http://www.tomwheeler.com/

Looking for a new project? Get paid up to $22,500 for improving
NetBeans, creating new modules or platform-based applications.
There's still time to submit your proposal for the NetBeans Grant
program:

  http://www.netbeans.org/grant/



--
Anuradha G

Re: Re: ant build failing

by Anuradha G :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

my user.build file


cluster.config=basic
build.compiler=extJavac
javac.compilerargs=-J-Xmx512m
permit.jdk6.builds=true
sigtest.skip.check=true



On Sat, Mar 1, 2008 at 2:28 AM, Anuradha G <theanuradha@...> wrote:
I got this error ant idea ?



compile:
    [mkdir] Created dir: D:\repos\netbeans\main\jumpto\build\classes
    [javac] Compiling 19 source files to D:\repos\netbeans\main\jumpto\build\cla
sses
    [javac] D:\repos\netbeans\main\jumpto\src\org\netbeans\spi\jumpto\type\TypeP
rovider.java:216: reference to addAll is ambiguous, both method addAll(java.util
.Collection<? extends E>) in java.util.Collection<capture#820 of ? super org.net
beans.spi.jumpto.type.TypeDescriptor> and method addAll(java.util.Collection<? e
xtends E>) in java.util.List<capture#820 of ? super org.netbeans.spi.jumpto.type
.TypeDescriptor> match
    [javac]             result.addAll(typeDescriptor);
    [javac]                   ^
    [javac] 1 error
  [nbmerge] Failed to build target: all-jumpto



On Sat, Mar 1, 2008 at 2:20 AM, Tom Wheeler <tomwheel@...> wrote:
On 2/29/08, Jesse Glick <jesse.glick@...> wrote:

> FWIW I just tried to reproduce this problem by putting Hg 0.9.4 (using
> Python 2.4.4) in my path, but everything still worked fine. I would love
> to have the build report a meaningful error message right away in case
> of misconfiguration, but I can't do that unless I can reproduce this
> problem, which I have never managed to do.

In my case, I was using Python 2.4.3 and whatever version of Hg gets
installed with Ubuntu 6.06 LTS (can't recall which that was and I'm
not at the machine now).

I later saw a document on the Wiki that stated the minimum versions of
each tool and I was certainly not meeting those requirements.

--
Tom Wheeler
http://www.tomwheeler.com/

Looking for a new project? Get paid up to $22,500 for improving
NetBeans, creating new modules or platform-based applications.
There's still time to submit your proposal for the NetBeans Grant
program:

  http://www.netbeans.org/grant/



--
Anuradha G



--
Anuradha G

Re: ant build failing

by Jesse Glick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anuradha G wrote:
> permit.jdk6.builds=true

Building on JDK 6 is not supported. If you come across a JDK-6-specific
compilation error, please file a bug for it, then use JDK 5.


Re: Re: ant build failing

by Tor Norbye :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Feb 29, 2008, at 1:03 PM, Jesse Glick wrote:

Anuradha G wrote:
permit.jdk6.builds=true

Building on JDK 6 is not supported. If you come across a JDK-6-specific compilation error, please file a bug for it, then use JDK 5.

This one is already tracked here:


Re: ant build failing

by Jesse Glick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tom Wheeler wrote:
> I was using Python 2.4.3 and whatever version of Hg gets installed
> with Ubuntu 6.06 LTS

That would be Hg 0.7, gulp.

Just trying it now in VBox. Installed Ubuntu 6.06, Sun JDK 6, using a
separate copy of Ant 1.7.0 (cannot use 1.6.5), fresh main clone, and I get

> bootstrap:
>     [mkdir] Created dir: /home/jglick/main/nbbuild/build/antclasses
>     [javac] Compiling 1 source file to /home/jglick/main/nbbuild/build/antclasses
> [registerexternalhook] Registering hook in /home/jglick/main/.hg/hgrc
> [registerexternalhook] Looking for external binaries in /home/jglick/main which need to be checked out again using decoder
> [registerexternalhook] Will check out external binaries fresh
> [registerexternalhook] (This could take a while as binaries are downloaded into your cache.)
>      [exec] /bin/sh: download:: command not found
>      [exec] Exception in thread Thread-1:
>      [exec] Traceback (most recent call last):
>      [exec]   File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
>      [exec]     self.run()
>      [exec]   File "/usr/lib/python2.4/threading.py", line 422, in run
>      [exec]     self.__target(*self.__args, **self.__kwargs)
>      [exec]   File "/usr/lib/python2.4/site-packages/mercurial/util.py", line 22, in writer
>      [exec]     pin.close()
>      [exec] IOError: [Errno 32] Broken pipe
>      [exec]
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] Exception in thread Thread-10:
>      [exec] Traceback (most recent call last):
>      [exec]   File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
>      [exec]     self.run()
>      [exec]   File "/usr/lib/python2.4/threading.py", line 422, in run
>      [exec]     self.__target(*self.__args, **self.__kwargs)
>      [exec]   File "/usr/lib/python2.4/site-packages/mercurial/util.py", line 22, in writer
>      [exec]     pin.close()
>      [exec] IOError: [Errno 32] Broken pipe
>      [exec]
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] Exception in thread Thread-12:
>      [exec] Traceback (most recent call last):
>      [exec]   File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
>      [exec]     self.run()
>      [exec]   File "/usr/lib/python2.4/threading.py", line 422, in run
>      [exec]     self.__target(*self.__args, **self.__kwargs)
>      [exec]   File "/usr/lib/python2.4/site-packages/mercurial/util.py", line 22, in writer
>      [exec]     pin.close()
>      [exec] IOError: [Errno 32] Broken pipe
>      [exec]
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
> [....]

which is hardly surprising since the version of Mercurial is way too
old. But it does not just fail silently.


Re: Re: ant build failing

by tomwheel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Feb 29, 2008 at 5:26 PM, Jesse Glick <jesse.glick@...> wrote:

>  That would be Hg 0.7, gulp.
>
>  Just trying it now in VBox. Installed Ubuntu 6.06, Sun JDK 6, using a
>  separate copy of Ant 1.7.0 (cannot use 1.6.5), fresh main clone, and I get
>
....
>  which is hardly surprising since the version of Mercurial is way too
>  old. But it does not just fail silently.

Those are the same errors I had.  Mine was not silent either, at least
as it relates to the clone operation.  I guess someone could make a
point that the *build* did not give much indication as to what went
wrong, but it's not that important to me.  The minimum versions were
documented and I didn't read it before I started.

However, I could not figure out how to reliably fetch just the
external binaries after I upgraded.  So I blew away my local copy of
the source and did another clone. That worked, but seemed like a waste
of bandwidth.


--
Tom Wheeler
http://www.tomwheeler.com/

Looking for a new project? Get paid up to $22,500 for improving
NetBeans, creating new modules or platform-based applications.
There's still time to submit your proposal for the NetBeans Grant
program:

   http://www.netbeans.org/grant/

Re: Re: ant build failing

by pamarti :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In my case,
I uninstalled HG, deleted the clone. reinstalled hg and cloned again. now i can build without errors.
i believe the error is due to Tortoise HG. I had repo browsing issues. I uninstalled TortoiseHG and tried to build. That didn't help. If you install  from scratch HG 0.9.5 and clone and build, it should be fine.

Thanks all for your help
Sri

On Fri, Feb 29, 2008 at 5:26 PM, Jesse Glick <jesse.glick@...> wrote:
Tom Wheeler wrote:
> I was using Python 2.4.3 and whatever version of Hg gets installed
> with Ubuntu 6.06 LTS

That would be Hg 0.7, gulp.

Just trying it now in VBox. Installed Ubuntu 6.06, Sun JDK 6, using a
separate copy of Ant 1.7.0 (cannot use 1.6.5), fresh main clone, and I get

> bootstrap:
>     [mkdir] Created dir: /home/jglick/main/nbbuild/build/antclasses
>     [javac] Compiling 1 source file to /home/jglick/main/nbbuild/build/antclasses
> [registerexternalhook] Registering hook in /home/jglick/main/.hg/hgrc
> [registerexternalhook] Looking for external binaries in /home/jglick/main which need to be checked out again using decoder
> [registerexternalhook] Will check out external binaries fresh
> [registerexternalhook] (This could take a while as binaries are downloaded into your cache.)
>      [exec] /bin/sh: download:: command not found
>      [exec] Exception in thread Thread-1:
>      [exec] Traceback (most recent call last):
>      [exec]   File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
>      [exec]     self.run()
>      [exec]   File "/usr/lib/python2.4/threading.py", line 422, in run
>      [exec]     self.__target(*self.__args, **self.__kwargs)
>      [exec]   File "/usr/lib/python2.4/site-packages/mercurial/util.py", line 22, in writer
>      [exec]     pin.close()
>      [exec] IOError: [Errno 32] Broken pipe
>      [exec]
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] Exception in thread Thread-10:
>      [exec] Traceback (most recent call last):
>      [exec]   File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
>      [exec]     self.run()
>      [exec]   File "/usr/lib/python2.4/threading.py", line 422, in run
>      [exec]     self.__target(*self.__args, **self.__kwargs)
>      [exec]   File "/usr/lib/python2.4/site-packages/mercurial/util.py", line 22, in writer
>      [exec]     pin.close()
>      [exec] IOError: [Errno 32] Broken pipe
>      [exec]
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] Exception in thread Thread-12:
>      [exec] Traceback (most recent call last):
>      [exec]   File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
>      [exec]     self.run()
>      [exec]   File "/usr/lib/python2.4/threading.py", line 422, in run
>      [exec]     self.__target(*self.__args, **self.__kwargs)
>      [exec]   File "/usr/lib/python2.4/site-packages/mercurial/util.py", line 22, in writer
>      [exec]     pin.close()
>      [exec] IOError: [Errno 32] Broken pipe
>      [exec]
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
>      [exec] /bin/sh: download:: command not found
> [....]

which is hardly surprising since the version of Mercurial is way too
old. But it does not just fail silently.



Re: ant build failing

by Jesse Glick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tom Wheeler wrote:
> Those are the same errors I had.

Ah. I don't think I saw those posted.

> I could not figure out how to reliably fetch just the external
> binaries after I upgraded.

rm */external/*.*
hg co


Re: ant build failing

by Martin Grebac :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 I started to have the same problem just now after fresh fetch. I don't
think I changed anything in my python/hg setup in the meantime though.
 MartinG

Sri wrote:

> Hi all,
> Im trying to simply build the repository, im getting the following
> error. I tried to pull everything couple of times. Can anyone help me.
> Thanks for all your help.
> Sri
>
> [available] DEPRECATED - <available> used to override an existing
> property.
> [available]   Build file should not reuse the same property name for
> different values.
>
> clean-cluster-flags:
>
> -jdk-pre-preinit:
>
> -jdk-preinit:
>
> -jdk-warn:
>
> -jdk-presetdef-basic:
>
> -jdk-default:
>
> -jdk-init:
>
> assure-ant:
>
> bootstrap:
>      [echo] Bootstrapping NetBeans-specific Ant extensions...
>     [javac] Compiling 76 source files to C:\main\nbbuild\build\antclasses
>     [javac] error: error reading
> C:\main\apisupport.harness\external\jsearch-2.0_05.jar; error in
> opening zip file
>     [javac]
> C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:59:
> package javax.help does not exist
>     [javac] import javax.help.HelpSet;
>     [javac]                   ^
>     [javac]
> C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:60:
> package javax.help does not exist
>     [javac] import javax.help.IndexItem;
>     [javac]                   ^
>     [javac]
> C:\main\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:61:
> package javax.help does not exist
>     [javac] import javax.help.IndexView;
>     [javac]         &nb