[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SWIG/Java

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2003-02-11 12:11:21 CET

Greg Stein <gstein@lyra.org> writes:

> On Mon, Feb 10, 2003 at 01:25:34PM -0800, Daniel Rall wrote:
> > Philip Martin <philip@codematters.co.uk> writes:
> >...
> > > Deleting from SWIG_SRC_DIR doesn't look right. Why do the Java
> > > bindings build there? Why don't they build in SWIG_BUILD_DIR?
> >
> > That's where they've always built to, but not for any particular
> > reason. Is this more along the lines of how it should be (untested)?:
> >...
> > swig-java-ext-clean:
> > - rm -rf $(SWIG_SRC_DIR)/java/build/
> > - rm -rf $(SWIG_SRC_DIR)/java/org/
> > + rm -rf $(SWIG_BUILD_DIR)/java/build/
> > + rm -rf $(SWIG_BUILD_DIR)/java/org/
>
> Conceptually, yes.
>
> However, please delete the swig-java-ext(-clean) targets. You should be able
> to build and install the Java stuff using the (install-)swig-java targets.
>
> [ in additional to (install-)swig-java-lib for libsvn_swig_java ]
>
> The Python stuff still has the -ext stuff which works with the distutils,
> but it is going away once I get the time to finish the swig-py rules.
> (specifically, copying over and compiling the .py files)

Okay.

> To get (install-)swig-java to work, you'll need to fix the
> COMPILE_JAVA_WRAPPER and LINK_JAVA_WRAPPER symbols in Makefile.in.

Done in revision 4832. Not all of the code will SWIG now -- there are
many warnings and the build dies trying to compile svn_repos.c. Kai,
Jesper, ideas towards a working build?

> The 'swig-clean' target should go away, in favor of integrating directly
> with the normal clean rules (some gen-make work).

I removed it swig-clean, replacing it with swig-py-ext-clean (like it
used to be), but didn't do the gen-make work.

-- 
Daniel Rall <dlr@finemaltcoding.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 11 12:12:06 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.