-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added source directories in eclipse target, removed redundant targets #6
base: NUTCH-2940
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks please see comments
build.gradle.kts
Outdated
description = "create eclipse project files" | ||
dependsOn("clean-eclipse", "init", "resolve-test", "job", "eclipse") | ||
//test on variable | ||
tasks.register("print-test") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this task.
build.gradle.kts
Outdated
description = "--> create eclipse project files" | ||
|
||
// not sure if any of this from ant needed | ||
// <pathconvert property="eclipse.project"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK to remove
build.gradle.kts
Outdated
// <regexpmapper from="^.*/([^/]+)$$" to="\1" handledirsep="yes"/> | ||
// </pathconvert> | ||
|
||
// <taskdef name="eclipse" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK to remove
build.gradle.kts
Outdated
// <classpath> | ||
// <library path="${conf.dir}" exported="false" /> | ||
// <library path="${basedir}/src/bin" exported="false" /> | ||
// <library pathref="eclipse.classpath" exported="false" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see https://github.com/lewismc/nutch/blob/master/build.xml#L1158-L1170 and implement the equivalent using https://docs.gradle.org/current/dsl/org.gradle.plugins.ide.eclipse.model.EclipseClasspath.html
build.gradle.kts
Outdated
// classname="prantl.ant.eclipse.EclipseTask" | ||
// classpath="${build.dir}/lib/ant-eclipse-1.0-jvm1.2.jar" /> | ||
// <eclipse updatealways="true"> | ||
// <project name="${eclipse.project}" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…e exception of .gradle/cache)
…rrect order. Also added notes for adding lib jars
Pull requests on future development by Elliott and Simon