Hello Eric, thanks for taking care of porting Python support to Apache NetBeans. Your work shall not be lost. The sources are supposed to be part of next donation to Apache, it is just taking ages to get the approvals. We are missing the driving force of Geertjan...
> nb.cluster.python.dir=python > nb.cluster.python.depends=\ > nb.cluster.ide > nb.cluster.python=\ > o.jython,\ > o.jython.distro,\ > python.console,\ > python.core,\ > python.debugger,\ > python.editor,\ > python.help,\ > python.hints,\ > python.kit,\ > python.options,\ > python.platform,\ > python.project,\ > python.project2,\ > python.samples,\ > python.source,\ > python.testrunner Right, creating own cluster (like php) is good idea. > C:\git\netbeans.ebresie\netbeans\python\o.jython This is the right location for the files. Try to go into that directory and use `ant build` in there. Once the projects compile one by one, we can try to analyze the failure when compiling the whole cluster. Just 2Kč advice... -jt so 19. 12. 2020 v 16:23 odesílatel Eric Bresie <[email protected]> napsal: > Maybe someone familiar with the python project can chime in... > > After a few further tweaks in the cluster.properties file I still continue > to get > > $ ant -Dcluster.config=python | tee >> build.output.txt > [copy] Warning: Could not find file > <>\netbeans\nbbuild\gitinfo.properties to copy. > [copy] Warning: Could not find > file <>\\netbeans\nbbuild\netbeansrelease.properties to copy. > > BUILD FAILED > <>\\netbeans\nbbuild\build.xml:277: Cannot resolve python/o.jython. Neither > one exist: > <>\\netbeans\python\o.jython > <>\\netbeans\python\python\o.jython > > I'm starting to think the o.jython mentioned in some way requires a binary > download of some jython jars which is missing and not getting pulled down. > > In the build.xml mention of downloadbinaries associated with the > nbuild\external\binaries-list. Assuming cluster specific is defined in a > cluster specific version of the "external\binaries-list". So my thinking > is somehow whatever causes the higher level to link up with the cluster > lower levels is not getting downloads correctly. Is there maybe some > configuration I might be missing here? > > Eric Bresie > [email protected] > > > On Fri, Dec 11, 2020 at 12:41 PM Eric Bresie <[email protected]> wrote: > > > As a learning project, I am trying to get python working in netbeans. > > > > One of my first steps was to make a python branch on github based on my > > fork from the main netbeans project, pulled down the contrib code from > the > > hg repository including the python related projects and start plugging > away > > at it. > > > > The files for the project used to be located under contrib/python (and > > jython)" but I thought if acceptable, might be better to move it into a > > "top level" project (similar to php). As part of this, I moved the > folders > > and started updating the clusters.properties file to add applicable > python > > items and to move out of the other area so the current iteration of this > > looks like: > > > > nb.cluster.python.dir=python > > nb.cluster.python.depends=\ > > nb.cluster.ide > > nb.cluster.python=\ > > o.jython,\ > > o.jython.distro,\ > > python.console,\ > > python.core,\ > > python.debugger,\ > > python.editor,\ > > python.help,\ > > python.hints,\ > > python.kit,\ > > python.options,\ > > python.platform,\ > > python.project,\ > > python.project2,\ > > python.samples,\ > > python.source,\ > > python.testrunner > > > > However, when attempting to build with > > > > ant clean -Dcluster.config=python build > > > > > > I get an error like: > > > > BUILD FAILED > > C:\git\netbeans.ebresie\netbeans\nbbuild\build.xml:1313: The following > > error occurred while executing this line: > > C:\git\netbeans.ebresie\netbeans\nbbuild\build.xml:277: Cannot resolve > > o.jython. Neither one exist: > > C:\git\netbeans.ebresie\netbeans\o.jython > > C:\git\netbeans.ebresie\netbeans\python\o.jython > > > > I tried in another form with the non-jython items and then it moved on to > > the next module so I think for some reason it is not finding the modules > > under ".dir" attribute defined above for some reason. I moved the python > > and jython related projects under a "python" top level folder which > assumed > > it should find but for some reason > > > > Anyone have any idea how to resolve this problem? > > > > Eric Bresie > > [email protected] > > >
