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]