I have just run "ant -Dcluster.config=groovy" on the root folder and that
indeed resulted in:

Target "all-groovy.antproject" does not exist in the project "main". It is
used from target "nbmerge-build-one-cluster".

However, until we figure out how to fix that, there's no reason why you
can't use "ant build" instead, which works fine.

I.e., something wrong here with "nb.cluster.groovy":

https://github.com/apache/incubator-netbeans/blob/master/nbbuild/cluster.properties

Gj

On Thu, Sep 13, 2018 at 12:08 AM, Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> Maybe, because of all the restructuring, recreate a fork from scratch and
> git clone that.
>
> Gj
>
> On Thu, Sep 13, 2018 at 12:06 AM, Sven Reimers <sven.reim...@gmail.com>
> wrote:
>
>> Ok.
>>
>> Will retry tomorrow..
>>
>> Sven
>>
>> Geertjan Wielenga <geertjan.wiele...@googlemail.com.invalid> schrieb am
>> Do., 13. Sep. 2018, 00:00:
>>
>> > So when you do a git clone and run 'ant build' on that clone you get
>> that
>> > result?
>> >
>> > If so, maybe something is cached somewhere, I don't know, have been
>> > building a lot today from scratch without any problems.
>> >
>> > Gj
>> >
>> > On Wed, Sep 12, 2018 at 11:49 PM, Sven Reimers <sven.reim...@gmail.com>
>> > wrote:
>> >
>> > > Trying on actual master what you proposed i get
>> > >
>> > > BUILD FAILED
>> > > /Users/sven/work/netbeans-groovy-work/incubator-
>> > > netbeans/nbbuild/build.xml:478:
>> > > The following error occurred while executing this line:
>> > > /Users/sven/work/netbeans-groovy-work/incubator-
>> > > netbeans/nbbuild/build.xml:473:
>> > > The following error occurred while executing this line:
>> > > /Users/sven/work/netbeans-groovy-work/incubator-
>> > > netbeans/nbbuild/build.xml:520:
>> > > Target "all-groovy.antproject" does not exist in the project "main".
>> It
>> > is
>> > > used from target "nbmerge-build-one-cluster".
>> > >
>> > > Ideas anyone?
>> > >
>> > > This blocks me from any further work.
>> > >
>> > > Sven
>> > >
>> > > On Sat, Sep 8, 2018 at 2:49 PM Junichi Yamamoto <
>> junichi0...@gmail.com>
>> > > wrote:
>> > >
>> > > > Hi,
>> > > >
>> > > > I have a similar problem with a php module but I don't know the
>> cause
>> > > > of the problem.
>> > > > As a workaround, just clean and build whole NetBeans (ant
>> > > > -Dcluster.config=full clean build-nozip). After that, I could build
>> > > > the module. However, the problem occurs again when I reboot my PC...
>> > > >
>> > > > output:
>> > > > /incubator-netbeans/nbbuild/templates/projectized.xml:342: The
>> > > > following error occurred while executing this line:
>> > > > /incubator-netbeans/nbbuild/templates/projectized.xml:335:
>> > > > java.lang.AssertionError: Cannot find myself as
>> > > > org.netbeans.modules.php.editor
>> > > > at org.netbeans.nbbuild.ParseProjectXml.execute(
>> > > ParseProjectXml.java:433)
>> > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.
>> java:292)
>> > > > at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
>> > > > at
>> > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> > > DelegatingMethodAccessorImpl.java:43)
>> > > > at java.lang.reflect.Method.invoke(Method.java:498)
>> > > > at
>> > > > org.apache.tools.ant.dispatch.DispatchUtils.execute(
>> > > DispatchUtils.java:99)
>> > > > at org.apache.tools.ant.Task.perform(Task.java:350)
>> > > > at java.util.Vector.forEach(Vector.java:1275)
>> > > > at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.
>> java:67)
>> > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.
>> java:292)
>> > > > at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
>> > > > at
>> > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> > > DelegatingMethodAccessorImpl.java:43)
>> > > > at java.lang.reflect.Method.invoke(Method.java:498)
>> > > > at
>> > > > org.apache.tools.ant.dispatch.DispatchUtils.execute(
>> > > DispatchUtils.java:99)
>> > > > at org.apache.tools.ant.Task.perform(Task.java:350)
>> > > > at
>> > > > org.apache.tools.ant.taskdefs.MacroInstance.execute(
>> > > MacroInstance.java:391)
>> > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.
>> java:292)
>> > > > at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
>> > > > at
>> > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> > > DelegatingMethodAccessorImpl.java:43)
>> > > > at java.lang.reflect.Method.invoke(Method.java:498)
>> > > > at
>> > > > org.apache.tools.ant.dispatch.DispatchUtils.execute(
>> > > DispatchUtils.java:99)
>> > > > at org.apache.tools.ant.Task.perform(Task.java:350)
>> > > > at org.apache.tools.ant.Target.execute(Target.java:449)
>> > > > at org.apache.tools.ant.Target.performTasks(Target.java:470)
>> > > > at org.apache.tools.ant.Project.executeSortedTargets(Project.ja
>> va:1388)
>> > > > at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
>> > > > at
>> > > > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(
>> > > DefaultExecutor.java:41)
>> > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
>> > > > at
>> > > > org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(
>> > > BridgeImpl.java:261)
>> > > > at
>> > > > org.apache.tools.ant.module.run.TargetExecutor.run(
>> > > TargetExecutor.java:574)
>> > > > at org.netbeans.core.execution.RunClassThread.run(
>> > > RunClassThread.java:128)
>> > > >
>> > > > I've reported this to the JIRA:
>> > > > https://issues.apache.org/jira/browse/NETBEANS-1229
>> > > >
>> > > > Thanks,
>> > > > Junichi
>> > > > On Sat, Sep 8, 2018 at 7:18 AM Sven Reimers <sven.reim...@gmail.com
>> >
>> > > > wrote:
>> > > > >
>> > > > > Hi,
>> > > > >
>> > > > > I am trying to build the cluster and started with libs.groovy
>> project
>> > > in
>> > > > > subdirectory groovy/libs.groovy and get the following error
>> > > > >
>> > > > > BUILD FAILED
>> > > > >
>> > > > /Users/sven/oss/netbeans/apache-incubator-netbeans/
>> > > nbbuild/templates/projectized.xml:99:
>> > > > > java.lang.IllegalStateException: Cannot find myself as
>> > > > > org.netbeans.modules.libs.groovy
>> > > > >
>> > > > > Maybe it is just me and I cannot see the forest for the trees -
>> > anyone
>> > > > any
>> > > > > idea what is going wrong?
>> > > > >
>> > > > > Thanks
>> > > > >
>> > > > > -Sven
>> > > >
>> > > > ------------------------------------------------------------
>> ---------
>> > > > To unsubscribe, e-mail: dev-unsubscribe@netbeans.incub
>> ator.apache.org
>> > > > For additional commands, e-mail:
>> > dev-h...@netbeans.incubator.apache.org
>> > > >
>> > > > For further information about the NetBeans mailing lists, visit:
>> > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> > > >
>> > > >
>> > > >
>> > > >
>> > >
>> > > --
>> > > Sven Reimers
>> > >
>> > > * Senior Expert Software Architect
>> > > * Java Champion
>> > > * NetBeans Dream Team Member: http://dreamteam.netbeans.org
>> > > * Community Leader  NetBeans: http://community.java.net/netbeans
>> > >                               Desktop Java:
>> > > http://community.java.net/javadesktop
>> > > * JUG Leader JUG Bodensee: http://www.jug-bodensee.de
>> > > * Duke's Choice Award Winner 2009
>> > >
>> > > * XING: https://www.xing.com/profile/Sven_Reimers8
>> > > * LinkedIn: http://www.linkedin.com/in/svenreimers
>> > >
>> >
>>
>
>

Reply via email to