This is not supported right now - if you have a small scale example of what
you need, feel free to open a bug.

You may be able to change M2_REPO to map to a relative path. I'd need to
experiment a bit on that.

On Sun, Aug 22, 2010 at 11:02, Nikos Maris <[email protected]> wrote:

> 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'
>        eclipse.builders 'org.eclipse.jdt.core.javabuilder'
>        eclipse.classpath_containers
>
> 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6'
>        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
>                begin
>                        unbounded = File.read(".classpath").gsub(/M2_REPO/,
> File.join('lib','m2')).gsub(/kind="var"/, 'kind="lib"')
>                        File.open(".classpath", "w") {|file| file.puts
> unbounded}
>                end
>        end
>
> ----------------------------------
> Nikos Maris
> Software Engineer
> IMC Technologies SA
> www.imc.com.gr
>

Reply via email to