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

javahl build strangeness

From: McClain Looney <m_at_loonsoft.com>
Date: 2004-03-17 21:34:48 CET

Hello,

Has anyone else experienced strangeness with the javac invocation in the
javahl build on debian?

after running autogen, then configure --with-jdk=$JAVA_HOME, issuing a make
results in:

make[1]: Entering directory
`/home/mml/subversion-1.0.1/subversion/bindings/java/javahl/src'
CLASSPATH=../cls:./../cls:$CLASSPATH /usr/local/java2/bin/javac -d ../cls
javac: no source files
Usage: javac <options> <source files>
<snip>

the relevant Makefile line is below:

class.stamp: $(_JAVA)
    132 $(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(JAVACFLAGS) $?
    133 echo timestamp > class.stamp

if i change 132 to:
$(CLASSPATH_ENV) find . -name \*.java | xargs $(JAVAC) -d $(JAVAROOT)
$(JAVACFLAGS) $?

things work fine. strangely, this isn't an issue on osx, where the following
is generated in the makefile:

    136 classnoinst.stamp: $(noinst_JAVA)
    137 @if test -n "$?"; then \
    138 echo '$(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS)
$(JAVACFLAGS) $?' ; \
    139 $(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) \
    140 $(AM_JAVACFLAGS) $(JAVACFLAGS) $?; \
    141 else :; fi
    142 echo timestamp > classnoinst.stamp

could this be some local config issue?

-- 
McClain Looney
LoonSoft LLC
m@loonsoft.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 17 21:35:09 2004

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.