Publish plugin issue

Vincent Privat vincent.privat at gmail.com
Tue May 29 23:36:58 UTC 2018


Ah sorry I totally misunderstood your change. Please restore what I did, I
thought you would only modify the "publish" target to ignore the files when
committing to SVN, not delete the targets!

2018-05-29 22:03 GMT+02:00 Holger Mappt <holgerosm at gmx.net>:

> Hi,
>
> I implemented the two changes in r34224 and r34225. This undid most of the
> changes to build-common.xml from r34045 where plugin-sources.jar and
> plugin-javadoc.jar were added.
>
> Marián, it should work for you now.
>
> Regards,
> Holger
>
>
> On 2018-05-27 at 12:18 +0200 Vincent Privat wrote:
>
>> No objections:)
>>
>> Le sam. 26 mai 2018 à 22:54, Holger Mappt <holgerosm-hi6Y0CQ0nG0 at public.
>> gmane.org> a écrit :
>>
>> Hi Marián,
>>>
>>> There are two problems and I can confirm your issue.
>>>
>>> Problem one is "ant update-current" which expands ../dist/${plugin.jar}
>>> to ../dist/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar
>>> instead of ../dist/pointInfo.jar. The ../dist/ must be removed in the
>>> target, the path to dist is part of ${plugin.jar} already.
>>>
>>> Problem two is that "ant commit-dist" tries to commit
>>> pointInfo-javadoc.jar and pointInfo-sources.jar. I think they should not
>>> be committed. They are in the ignore list (svn pl -v ../../dist) and I
>>> don't see that other plugins have them in dist. SVN fails to commit the
>>> two files because they are not "svn add"ed.
>>>
>>> I assume you are the only one who uses the publish target. Otherwise all
>>> others would see the same problem.
>>>
>>> Who else uses "ant publish"? If there are no objections I will make
>>> these two changes to build-common.xml:
>>> * Remove ../dist/ from update-current
>>> * Do not update/publish/commit plugin.sources.jar and plugin.javadoc.jar
>>>
>>> Regards,
>>> Holger
>>>
>>
>
>


More information about the josm-dev mailing list