|
From: Jarek C. <jar...@po...> - 2012-02-29 16:47:11
|
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Matthieu, you forced me to say it: it's not the first time when you
answer a question without reading it. Try to walk in my shoes: I
have simple questions, ask them, but Matthieu answers only his own
questions repeatedly. It's not comfortable for me. It always
requires several emails for one question. The question was:<br>
<br>
"how is jedit able to fetch rhino.jar?"<br>
<br>
But more important is the last question. Will you be able to answer
it? I am asking you because you introduced ivy to plugin builds and
you are the author of ivy settings.xml. Having one expert on a given
subject in a team is enough, so I'm not trying to learn all the
details about ivy. Instead I'm asking you to analyze it and say:
possible or not?<br>
<br>
If it is not possible, I will be fetching whole zips through ivy and
unzipping them locally. Not a very complicated solution, but maybe
you have a better idea.<br>
<br>
To make it clear what I am asking for I'll repeat it:<br>
<br>
Jedit simply fetches RhinoPlugin.zip and unpacks it. Is this task
too complicated to be done by ivy? Can't you replace the formula<br>
<br>
<artifact pattern=<a moz-do-not-send="true">"jar:http://${mirror}.dl.sourceforge.net/sourceforge/jedit-plugins/[artifact]-[revision]-bin.zip!/[artifact].jar"</a>
/><br>
<br>
with something else? With something that would be good for all
plugins?<br>
<br>
Jarek<br>
<br>
W dniu 2012-02-29 17:19, Matthieu Casanova pisze:
<blockquote
cite="mid:CAP...@ma..."
type="cite">That's not wrong, I explained what JavascriptSidekick
does :
<div><br>
</div>
<div>It has no dependency on RhinoPlugin during build, only on </div>
<div>rhino library :</div>
<div><dependency org="org.mozilla" name="rhino"
rev="1.7R3"/></div>
<div><br>
</div>
<div>So it doesn't download
RhinoPlugin.zip unless you changed something.</div>
<div><br>
<div class="gmail_quote">2012/2/29 Jarek Czekalski <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:jar...@po...">jar...@po...</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Wrong answer. Jedit
simply fetches RhinoPlugin.zip and unpacks it. Is this
task too complicated to be done by ivy? Can't you replace
the formula<br>
<br>
<artifact pattern=<a moz-do-not-send="true">"jar:http://${mirror}.dl.sourceforge.net/sourceforge/jedit-plugins/[artifact]-[revision]-bin.zip!/[artifact].jar"</a>
/><br>
<br>
with something else? With something that would be good for
all plugins?<br>
<br>
Jarek<br>
<br>
W dniu 2012-02-29 16:56, Matthieu Casanova pisze:
<div>
<div class="h5">
<blockquote type="cite">RhinoPlugin has rhino
dependency in it's ivy.xml, and rhino.jar is
included in the package.
<div><br>
</div>
<div>JavascriptSidekick also use the same dependency
for build but rhino.jar is only used for build and
is not included in the plugin since that library
will be provided by another plugin :
RhinoSidekick.<br>
<br>
<div class="gmail_quote">2012/2/29 Jarek Czekalski
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jar...@po..."
target="_blank">jar...@po...</a>></span><br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> If the
matters are so complicated as you describe,
how is jedit able to fetch rhino.jar?<br>
<br>
Jarek<br>
<br>
W dniu 2012-02-29 16:11, Matthieu Casanova
pisze:
<div>
<div>
<blockquote type="cite">Yes, but we
don't have a real artifact repository
so if JavascriptSidekick ask for
RhinoPlugin it cannot fetch the
ivy.xml from RhinoPlugin so it cannot
know that rhino.jar is required.
<div>And that information is not in
RhinoPlugin.props either because the
library version is not in that file.<br>
<br>
<div class="gmail_quote">2012/2/29
Jarek Czekalski <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:jar...@po..."
target="_blank">jar...@po...</a>></span><br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex"> <br>
<br>
W dniu 2012-02-29 15:37,
Matthieu Casanova pisze:
<div><br>
<blockquote
class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex"> It
is because the execution
dependency of
JavascriptSidekick (for
example) is on RhinoPlugin,
but RhinoPlugin is an empty
plugin, the real dependency
is on rhino.jar<br>
</blockquote>
</div>
Not exactly. RhinoPlugin is not
empty. RhinoPlugin plugin
contains rhino.jar, but due to
ivy settings only
RhinoPlugin.jar is fetched.<span><font
color="#888888"><br>
<br>
Jarek<br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</body>
</html>
|