[OSM-dev] DirectUpload Plugin compile broken ?

Shaun McDonald shaun at shaunmcdonald.me.uk
Thu Dec 18 12:29:18 GMT 2008


I believe that these errors are caused by the plugin being built using  
newer Java 6 features, rather than the older Java 5 features like the  
rest of JOSM.

Shaun
On 18 Dec 2008, at 06:33, Joerg Ostertag (OSM Tettnang/Germany) wrote:

> While trying to update the Windows Packages I saw:
>
>     [echo] creating ../../dist/DirectUpload.jar
>
> [javac] /var/www/svn.openstreetmap.org/applications/editors/josm/ 
> plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/ 
> UploadDataGui.java:140:
> cannot find symbol
>    [javac] symbol  : class GroupLayout
>    [javac] location: package javax.swing
>    [javac]         javax.swing.GroupLayout layout = new
> javax.swing.GroupLayout(getContentPane());
>    [javac]                    ^
>
> [javac] /var/www/svn.openstreetmap.org/applications/editors/josm/ 
> plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/ 
> UploadDataGui.java:140:
> cannot find symbol
>    [javac] symbol  : class GroupLayout
>    [javac] location: package javax.swing
>    [javac]         javax.swing.GroupLayout layout = new
> javax.swing.GroupLayout(getContentPane());
>    [javac]                                                         ^
>
> [javac] /var/www/svn.openstreetmap.org/applications/editors/josm/ 
> plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/ 
> UploadDataGui.java:144:
> package javax.swing.GroupLayout does not exist
>     
> [javac 
> ]             .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
> layout.createSequentialGroup()
>    [javac]                                              ^
>
> [javac] /var/www/svn.openstreetmap.org/applications/editors/josm/ 
> plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/ 
> UploadDataGui.java:166:
> cannot find symbol
>    [javac] symbol  : class GroupLayout
>    [javac] location: package javax.swing
>    [javac]                         .addComponent(jScrollPane1,
> javax.swing.GroupLayout.DEFAULT_SIZE, 527, Short.MAX_VALUE)))
>     
> [javac 
> ]                                                                ^
>
> [javac] /var/www/svn.openstreetmap.org/applications/editors/josm/ 
> plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/ 
> UploadDataGui.java:163:
> cannot find symbol
>    [javac] symbol  : class GroupLayout
>    [javac] location: package javax.swing
>    [javac]                         .addComponent(CancelButton,
> javax.swing.GroupLayout.PREFERRED_SIZE, 84,
> javax.swing.GroupLayout.PREFERRED_SIZE))
>     
> [javac 
> ]                                                                ^
>
> [javac] /var/www/svn.openstreetmap.org/applications/editors/josm/ 
> plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/ 
> UploadDataGui.java:163:
> cannot find symbol
>    [javac] symbol  : class GroupLayout
>    [javac] location: package javax.swing
>    [javac]                         .addComponent(CancelButton,
> javax.swing.GroupLayout.PREFERRED_SIZE, 84,
> javax.swing.GroupLayout.PREFERRED_SIZE))
>    [javac]
> ^
>
> [javac] /var/www/svn.openstreetmap.org/applications/editors/josm/ 
> plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/ 
> UploadDataGui.java:161:
> cannot find symbol
>    [javac] symbol  : class GroupLayout
>    [javac] location: package javax.swing
>    [javac]                         .addComponent(OkButton,
> javax.swing.GroupLayout.PREFERRED_SIZE, 79,
> javax.swing.GroupLayout.PREFERRED_SIZE)
>     
> [javac]                                                            ^
>
> [javac] /var/www/svn.openstreetmap.org/applications/editors/josm/ 
> plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/ 
> UploadDataGui.java:161:
> cannot find symbol
>    [javac] symbol  : class GroupLayout
>    [javac] location: package javax.swing
>    [javac]                         .addComponent(OkButton,
> javax.swing.GroupLayout.PREFERRED_SIZE, 79,
> javax.swing.GroupLayout.PREFERRED_SIZE)
>    [javac]
> ^
>
> [javac] /var/www/svn.openstreetmap.org/applications/editors/josm/ 
> plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/ 
> UploadDataGui.java:158:
> cannot find symbol
>    [javac] symbol  : class GroupLayout
>    [javac] location: package javax.swing
>    [javac]                             .addComponent(descriptionfield,
> javax.swing.GroupLayout.DEFAULT_SIZE, 379, Short.MAX_VALUE)))
>    [javac]
> ^
>
> [javac] /var/www/svn.openstreetmap.org/applications/editors/josm/ 
> plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/ 
> UploadDataGui.java:157:
> package javax.swing.LayoutStyle does not exist
>
> [javac 
> ]                                 .addPreferredGap 
> (javax.swing.LayoutStyle.ComponentPlacement.RELATED,
> 124, Short.MAX_VALUE))
>    [javac]
> ^
>
> [javac] /var/www/svn.openstreetmap.org/applications/editors/josm/ 
> plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/ 
> UploadDataGui.java:154:
> cannot find symbol
>    [javac] symbol  : class GroupLayout
>    [javac] location: package javax.swing
>    [javac]                             .addComponent(tagfield,
> javax.swing.GroupLayout.DEFAULT_SIZE, 379, Short.MAX_VALUE)
>     
> [javac 
> ]                                                                ^
>
> [javac] /var/www/svn.openstreetmap.org/applications/editors/josm/ 
> plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/ 
> UploadDataGui.java:153:
> package javax.swing.GroupLayout does not exist
>
> [javac 
> ]                         .addGroup 
> (layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
>    [javac]
> ^
>
> [javac] /var/www/svn.openstreetmap.org/applications/editors/josm/ 
> plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/ 
> UploadDataGui.java:151:
> cannot find symbol
>    [javac] symbol  : class GroupLayout
>    [javac] location: package javax.swing
>    [javac]                             .addComponent(jLabel3,
> javax.swing.GroupLayout.DEFAULT_SIZE,  
> javax.swing.GroupLayout.DEFAULT_SIZE,
> Short.MAX_VALUE))
>     
> [javac 
> ]                                                               ^
>
> [javac] /var/www/svn.openstreetmap.org/applications/editors/josm/ 
> plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/ 
> UploadDataGui.java:151:
> cannot find symbol
>    [javac] symbol  : class GroupLayout
>    [javac] location: package javax.swing
>    [javac]                             .addComponent(jLabel3,
> javax.swing.GroupLayout.DEFAULT_SIZE,  
> javax.swing.GroupLayout.DEFAULT_SIZE,
> Short.MAX_VALUE))
>
> -- 
> Jörg (Germany, Tettnang)
>
> http://www.ostertag.name/
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2433 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20081218/ddf841e6/attachment.bin>


More information about the dev mailing list