Publish plugin issue
Marián Kyral
mkyral at email.cz
Wed May 23 20:31:10 UTC 2018
Hi,
sorry for the late reply.
Dne 17.5.2018 v 22:03 Holger Mappt napsal(a):
> Hi Marián,
>
> Looks like you managed to publish the PointInfo plugin in the meantime
> (r34195).
Yes, I did it manually by committing the binary with proper commit message.
> An SVN status with ! is never good. I assume there was a newer version
> in the repo that was not fetched because you had a modified
> dist/pointInfo.jar. Run svn status with option -u (to see what updates
> are in the repository), delete your modified pointInfo.jar, svn update
> dist, publish.
And this is strange. I deleted the binary and restored them from repo.
Then I run "ant publish", it deleted binary in "dist" folder, compile
it, created the "*-source.jar" and "*-javadoc.jar" files and svn commit
fails on messages I've sent.
*Just tested now ant the result is the same. Folders are clean*
[22:06:24 marian at worker pointInfo (master)]$ svn status -u
Status against revision: 34216
[22:10:39 marian at worker pointInfo (master)]$ svn status -u ../../dist
Status against revision: 34216
*But:*
[22:10:55 marian at worker pointInfo (master)]$ ant publish
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
-Dswing.aatext=true
Buildfile:
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/build.xml
ensure-svn-present:
core-info:
[echo] Building against core revision 13823.
[echo] Plugin-Mainversion is set to 12666.
[delete] Deleting:
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/core.info.xml
commit-current:
[echo] Commiting the plugin source with message 'PointInfo: Adds a
link to photo metadata in Catastro module. Patch by Javier Sánchez
Portero.' ...
update-current:
[echo] Updating plugin source ...
[echo] Updating
/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar ...
[exec] Result: 1
clean:
[delete] Deleting:
/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar
init:
[mkdir] Created dir:
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/build
pre-compile:
compile:
[echo] compiling sources for
/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar ...
[javac] Compiling 15 source files to
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/build
javadoc:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
-Dswing.aatext=true
[javadoc] Loading source files for package
org.openstreetmap.josm.plugins.pointinfo...
[javadoc] Loading source files for package
org.openstreetmap.josm.plugins.pointinfo.catastro...
[javadoc] Loading source files for package
org.openstreetmap.josm.plugins.pointinfo.ruian...
[javadoc] Constructing Javadoc information...
[javadoc] Creating destination directory:
"/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/javadoc/"
[javadoc] Standard Doclet version 1.8.0_172
[javadoc] Building tree for all the packages and classes...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
init-svn-revision-xml:
init-git-svn-revision-xml:
init-git-revision-xml:
init-revision-fallback:
revision:
[delete] Deleting:
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/REVISION.XML
dist:
[echo] creating pointInfo.jar ...
setup-dist:
setup-dist-default:
[copy] Copying 15 files to
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/build/images
[copy] Copying 36 files to
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/build/data
[copy] Copying 2 files to
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/build
check-manifest-attribute:
add-manifest-attribute:
check-manifest-attribute:
add-manifest-attribute:
check-manifest-attribute:
add-manifest-attribute:
check-manifest-attribute:
add-manifest-attribute:
check-manifest-attribute:
add-manifest-attribute:
check-manifest-attribute:
add-manifest-attribute:
additional-manifest:
[jar] Building jar:
/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar
[jar] Building jar:
/home/marian/projekty/josm/josm_plugins/dist/pointInfo-sources.jar
[jar] Building jar:
/home/marian/projekty/josm/josm_plugins/dist/pointInfo-javadoc.jar
[delete] Deleting:
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/MANIFEST
post-dist:
commit-dist:
[echo]
[echo] ***** Properties of published
/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar *****
[echo] Commit message : 'PointInfo: Adds a link to photo
metadata in Catastro module. Patch by Javier Sánchez Portero.'
[echo] Plugin-Mainversion: 12666
[echo] JOSM build version: 13823
[echo] Plugin-Version : 34216
[echo] ***** / Properties of published
/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar *****
[echo]
[echo] Now commiting
/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar ...
[echo]
[exec] Result: 1
publish:
BUILD SUCCESSFUL
Total time: 11 seconds
*The svn.log*
[22:15:06 marian at worker pointInfo (master)]$ cat svn.log
svn, version 1.10.0 (r1827917)
compiled Apr 20 2018, 00:07:44 on x86_64-pc-linux-gnu
Copyright (C) 2018 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/
The following repository access (RA) modules are available:
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using
serf.
- using serf 1.3.8 (compiled with 1.3.8)
- handles 'http' scheme
- handles 'https' scheme
The following authentication credential caches are available:
* Plaintext cache in /home/marian/.subversion
* GPG-Agent
* KWallet (KDE)
Updating '.':
At revision 34216.
Skipped
'../dist/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar'svn:
E155007: None of the targets are working copies
Skipped
'../dist/home/marian/projekty/josm/josm_plugins/dist/pointInfo-javadoc.jar'
Skipped
'../dist/home/marian/projekty/josm/josm_plugins/dist/pointInfo-sources.jar'
svn: E200009: Commit failed (details follow):
svn: E200009:
'/home/marian/projekty/josm/josm_plugins/dist/pointInfo-sources.jar' is
not under version control
*And current status:*
[22:15:10 marian at worker pointInfo (master)]$ svn status -u
? svn.log
Status against revision: 34216
[22:23:10 marian at worker pointInfo (master)]$ svn status -u ../../dist
M 34216 ../../dist/pointInfo.jar
Status against revision: 34216
[22:23:15 marian at worker pointInfo (master)]$
Maybe, could you try?
Thanks,
Marián
>
> Regards,
> Holger
>
>
> On 2018-05-17 at 12:42 +0200 Marián Kyral wrote:
>> Hi,
>> It is a long time ago when I published last version of pointInfo plugin.
>> Now I want to publish updated version, but it does not work :-(
>>
>>
>> I've commited changes in code:
>>
>> ------------------------------------------------------------------------
>> r34168 | mkyral | 2018-04-24 07:48:05 +0200 (Út, 24 dub 2018) | 5 lines
>>
>> PointInfo: Add Spanish Cadastre Web Services module.
>>
>> Patch by Javier Sánchez Portero.
>>
>>
>> Then I want to publish updated binary:
>>
>> ------------------------------------------------------------------------
>> $ cd /home/marian/projekty/josm/josm_plugins/dist/
>> $ svn status
>> ! pointInfo.jar
>> $ svn update
>> Updating '.':
>> Restored 'pointInfo.jar'
>> At revision 34194.
>>
>
>
>
>
More information about the josm-dev
mailing list