Hm it worked on my machine but I only have Java 6. It seems that the workbench depends on classes like java.swing.Desktop or javax.swing.DropMode which are only available since Java 6. So Java 5 cannot work.
I'll revert my commit. You'll have to use Java 6 for the workbench, sorry. Florent On Fri, Jan 7, 2011 at 4:44 PM, Ian Ashley <[email protected]> wrote: > Florent, > > Thanks for looking into the Java 1.5 issue. The workbench now starts to > build but outputs the following > > [BTW skipping building the workbench would be fine for our requirements if > this is possible] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building OpenCMIS Workbench > [INFO] task-segment: [clean, install] > [INFO] > ------------------------------------------------------------------------ > [INFO] [clean:clean {execution: default-clean}] > [INFO] [remote-resources:process {execution: default}] > [INFO] [antrun:run {execution: default}] > [INFO] Executing tasks > > main: > [mkdir] Created dir: > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/target/start > [copy] Copying 2 files to > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/target/start > [INFO] Executed tasks > [INFO] [resources:resources {execution: default-resources}] > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 42 resources > [INFO] Copying 1 resource > [INFO] Copying 3 resources > [INFO] [compiler:compile {execution: default-compile}] > [INFO] Compiling 49 source files to > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/target/classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Fo > lderTable.java:[37,19] cannot find symbol > symbol : class DropMode > location: package javax.swing > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientFrame.java:[26,16] cannot find symbol > symbol : class Desktop > location: package java.awt > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientFrame.java:[27,24] package java.awt.Desktop does not exist > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientHelper.java:[22,16] cannot find symbol > symbol : class Desktop > location: package java.awt > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Tc > kDialog.java:[23,16] cannot find symbol > symbol : class Desktop > location: package java.awt > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Tc > kDialog.java:[43,19] cannot find symbol > symbol : class SwingWorker > location: package javax.swing > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Tc > kDialog.java:[267,26] cannot find symbol > symbol : class SwingWorker > location: class org.apache.chemistry.opencmis.workbench.TckDialog > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Fo > lderTable.java:[257,33] cannot find symbol > symbol : class TransferSupport > location: class > org.apache.chemistry.opencmis.workbench.FolderTable.FolderTransferHandler > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Fo > lderTable.java:[271,34] cannot find symbol > symbol : class TransferSupport > location: class > org.apache.chemistry.opencmis.workbench.FolderTable.FolderTransferHandler > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Fo > lderPanel.java:[136,27] cannot find symbol > symbol : method setFillsViewportHeight(boolean) > location: class org.apache.chemistry.opencmis.workbench.FolderTable > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Fo > lderTable.java:[79,8] cannot find symbol > symbol : method setAutoCreateRowSorter(boolean) > location: class org.apache.chemistry.opencmis.workbench.FolderTable > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Fo > lderTable.java:[84,20] cannot find symbol > symbol : variable DropMode > location: class org.apache.chemistry.opencmis.workbench.FolderTable > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Fo > lderTable.java:[256,9] method does not override a method from its superclass > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Fo > lderTable.java:[270,9] method does not override a method from its superclass > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/mo > del/ClientSession.java:[123,34] cannot find symbol > symbol : method stringPropertyNames() > location: class java.util.Properties > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/sw > ing/InfoPanel.java:[84,47] cannot find symbol > symbol : variable BASELINE_TRAILING > location: class java.awt.GridBagConstraints > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/sw > ing/InfoPanel.java:[88,47] cannot find symbol > symbol : variable BASELINE_LEADING > location: class java.awt.GridBagConstraints > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/sw > ing/InfoPanel.java:[104,47] cannot find symbol > symbol : variable BASELINE_TRAILING > location: class java.awt.GridBagConstraints > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/sw > ing/InfoPanel.java:[108,47] cannot find symbol > symbol : variable BASELINE_LEADING > location: class java.awt.GridBagConstraints > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/sw > ing/InfoPanel.java:[121,47] cannot find symbol > symbol : variable BASELINE_TRAILING > location: class java.awt.GridBagConstraints > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/sw > ing/InfoPanel.java:[125,47] cannot find symbol > symbol : variable BASELINE_LEADING > location: class java.awt.GridBagConstraints > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/de > tails/AbstractDetailsTable.java:[60,8] cannot find symbol > symbol : method setAutoCreateRowSorter(boolean) > location: class > org.apache.chemistry.opencmis.workbench.details.AbstractDetailsTable > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/de > tails/AbstractDetailsTable.java:[67,8] cannot find symbol > symbol : method setFillsViewportHeight(boolean) > location: class > org.apache.chemistry.opencmis.workbench.details.AbstractDetailsTable > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Ty > peSplitPane.java:[209,12] cannot find symbol > symbol : method setFillsViewportHeight(boolean) > location: class > org.apache.chemistry.opencmis.workbench.TypeSplitPane.PropertyDefinitionTabl > e > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/de > tails/TypesPanel.java:[40,5] method does not override a method from its > superclass > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/de > tails/ExtensionsPanel.java:[57,5] method does not override a method from its > superclass > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Re > positoryInfoFrame.java:[145,29] cannot find symbol > symbol : method setFillsViewportHeight(boolean) > location: class javax.swing.JTable > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Re > positoryInfoFrame.java:[160,32] cannot find symbol > symbol : method setFillsViewportHeight(boolean) > location: class javax.swing.JTable > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientHelper.java:[141,13] cannot find symbol > symbol : variable Desktop > location: class org.apache.chemistry.opencmis.workbench.ClientHelper > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientHelper.java:[146,8] cannot find symbol > symbol : class Desktop > location: class org.apache.chemistry.opencmis.workbench.ClientHelper > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientHelper.java:[146,26] cannot find symbol > symbol : variable Desktop > location: class org.apache.chemistry.opencmis.workbench.ClientHelper > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientHelper.java:[148,40] package Desktop does not exist > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientHelper.java:[329,41] cannot find symbol > symbol : method stringPropertyNames() > location: class java.util.Properties > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientHelper.java:[367,9] method does not override a method from its > superclass > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientFrame.java:[194,17] method does not override a method from its > superclass > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientFrame.java:[356,13] cannot find symbol > symbol : variable Desktop > location: class org.apache.chemistry.opencmis.workbench.ClientFrame > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientFrame.java:[356,79] cannot find symbol > symbol : variable Action > location: class org.apache.chemistry.opencmis.workbench.ClientFrame > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientFrame.java:[356,46] cannot find symbol > symbol : variable Desktop > location: class org.apache.chemistry.opencmis.workbench.ClientFrame > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientFrame.java:[365,20] cannot find symbol > symbol: variable Desktop > Desktop.getDesktop().browse(url); > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Cl > ientFrame.java:[362,13] method does not override a method from its > superclass > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Lo > ginDialog.java:[153,54] cannot find symbol > symbol : variable MONOSPACED > location: class java.awt.Font > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Lo > ginDialog.java:[477,9] method does not override a method from its superclass > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/In > foDialog.java:[76,32] cannot find symbol > symbol : variable MONOSPACED > location: class java.awt.Font > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Tc > kDialog.java:[158,16] cannot find symbol > symbol : method execute() > location: class org.apache.chemistry.opencmis.workbench.TckDialog.TckTask > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Tc > kDialog.java:[207,24] cannot find symbol > symbol : method cancel(boolean) > location: class org.apache.chemistry.opencmis.workbench.TckDialog.TckTask > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Tc > kDialog.java:[276,9] method does not override a method from its superclass > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Tc > kDialog.java:[301,16] cannot find symbol > symbol : class Desktop > location: class org.apache.chemistry.opencmis.workbench.TckDialog.TckTask > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Tc > kDialog.java:[301,34] cannot find symbol > symbol : variable Desktop > location: class org.apache.chemistry.opencmis.workbench.TckDialog.TckTask > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Tc > kDialog.java:[302,48] package Desktop does not exist > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Tc > kDialog.java:[290,9] method does not override a method from its superclass > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Ch > angeLogFrame.java:[84,13] method does not override a method from its > superclass > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Ch > angeLogFrame.java:[137,12] cannot find symbol > symbol : method setAutoCreateRowSorter(boolean) > location: class > org.apache.chemistry.opencmis.workbench.ChangeLogFrame.ChangeLogTable > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Ch > angeLogFrame.java:[144,12] cannot find symbol > symbol : method setFillsViewportHeight(boolean) > location: class > org.apache.chemistry.opencmis.workbench.ChangeLogFrame.ChangeLogTable > > /Development/Projects/Chemistry/trunk/chemistry-opencmis-workbench/chemistry > -opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/Qu > eryFrame.java:[146,20] cannot find symbol > symbol : method setFillsViewportHeight(boolean) > location: class javax.swing.JTable > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1 minute 14 seconds > [INFO] Finished at: Fri Jan 07 15:42:32 GMT 2011 > [INFO] Final Memory: 96M/171M > [INFO] > ------------------------------------------------------------------------ > 2011-01-07 15:42:32.937:INFO::Shutdown hook executing > 2011-01-07 15:42:32.937:INFO::Shutdown hook complete > > > Regards, > Ian > > -- Florent Guillaume, Director of R&D, Nuxeo Open Source, Java EE based, Enterprise Content Management (ECM) http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
