buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikos Maris <>
Subject When using the eclipse task, how can I generate .classpath file with javadocpath?
Date Sun, 22 Aug 2010 18:02:30 GMT
Hi all,

Could you tell me how can  I generate .classpath file with
javadocpath, or who to ask? Although I have javadoc in JARs, the
following code does not produce javadocpath.

	eclipse.natures 'org.eclipse.jdt.core.javanature' 'org.eclipse.jdt.core.javabuilder'
	compile.from('src').into('bin')		# adds src to classpath (default
project hierarchy is sources=src/main/java and target=target/classes)
	desc 'Unbound M2_REPO from .classpath file to a relative path'
	task :geneclipse => :eclipse do
			unbounded =".classpath").gsub(/M2_REPO/,
File.join('lib','m2')).gsub(/kind="var"/, 'kind="lib"')".classpath", "w") {|file| file.puts unbounded}

Nikos Maris
Software Engineer
IMC Technologies SA

View raw message