Re: From where is coming this dependencies hudson.cli.client?

81 views
Skip to first unread message

Kohsuke Kawaguchi

unread,
May 26, 2015, 12:21:38 PM5/26/15
to Mikholap Mikhail, jenkin...@googlegroups.com
This code is generated from Messages.properties by a Maven plugin at https://github.com/kohsuke/localizer.

To do the build via Gradle, we'd need to write a Gradle task around the abovementioned localizer project.


2015-05-26 0:07 GMT-07:00 Mikholap Mikhail <mixol...@gmail.com>:
Hello Kohsuke, 

I'm trying to build jenkins by gradle and i met a problem. with cli module. In maven compilation i didn't find definition about dependencies hudson.cli.client.


I have error in gradle compilation:
:cli:compileJava
/home/git/jenkins/cli/src/main/java/hudson/cli/CLI.java:26: error: package hudson.cli.client does not exist
import hudson.cli.client.Messages;

 From where is coming this dependencies resolution?

Thank you.



--
Kohsuke Kawaguchi

Christopher Orr

unread,
May 26, 2015, 12:24:44 PM5/26/15
to jenkin...@googlegroups.com
Just a quick note to say that there is at least some Gradle support for
Localizer in the Gradle JPI plugin:

https://github.com/jenkinsci/gradle-jpi-plugin/blob/5b72ac4/src/main/groovy/org/jenkinsci/gradle/plugins/jpi/LocalizerTask.groovy


On 26/05/15 18:21, Kohsuke Kawaguchi wrote:
> This code is generated from Messages.properties by a Maven plugin at
> https://github.com/kohsuke/localizer.
>
> To do the build via Gradle, we'd need to write a Gradle task around the
> abovementioned localizer project.
>
>
> 2015-05-26 0:07 GMT-07:00 Mikholap Mikhail <mixol...@gmail.com
> <mailto:mixol...@gmail.com>>:
>
> Hello Kohsuke,
>
> I'm trying to build jenkins by gradle and i met a problem. with cli
> module. In maven compilation i didn't find definition about
> dependencies hudson.cli.client.
>
>
> I have error in gradle compilation:
> :cli:compileJava
> /home/git/jenkins/cli/src/main/java/hudson/cli/CLI.java:26: error:
> package hudson.cli.client does not exist
> import hudson.cli.client.Messages;
>
> From where is coming this dependencies resolution?
>
> Thank you.
>
>
>
>
> --
> Kohsuke Kawaguchi
>
> --
> You received this message because you are subscribed to the Google
> Groups "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jenkinsci-de...@googlegroups.com
> <mailto:jenkinsci-de...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CAN4CQ4xnmVVarY54CW5PCWPdhnYWZ9d2icH8KjWd6xZTCN1Oog%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CAN4CQ4xnmVVarY54CW5PCWPdhnYWZ9d2icH8KjWd6xZTCN1Oog%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages