chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florent Guillaume ...@nuxeo.com>
Subject Re: Building with Java 1.5
Date Fri, 07 Jan 2011 13:30:50 GMT
Hi,

I've committed a change to not require 1.6 for the workbench.

http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/pom.xml?r1=1055876&r2=1056311&pathrev=1056311&view=patch

Florent

On Fri, Jan 7, 2011 at 11:59 AM, Ian Ashley <Ian.Ashley@opentext.com> wrote:
> Dear all,
>
> Is there a way to get Chemistry to build with Java 1.5? When I do the
> following on my Mac with java 1.5 (my Mac is too old to support Java 1.6.)
>
> java -version
>> java version "1.5.0_26"
>> Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.5.0_26-b03-376-9M3263)
>> Java HotSpot(TM) Client VM (build 1.5.0_26-156, mixed mode, sharing)
> svn export
> https://svn.apache.org/repos/asf/incubator/chemistry/opencmis/trunk
>  mvn clean install -Dmaven.test.skip=true
>
> The following is output
>
> ...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building OpenCMIS Workbench
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting file set:
> /Users/ian/Desktop/Chemistry/trunk/chemistry-opencmis-workbench/chemistry-op
> encmis-workbench/target (included: [**], excluded: [])
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [antrun:run {execution: default}]
> [INFO] Executing tasks
>
> main:
>    [mkdir] Created dir:
> /Users/ian/Desktop/Chemistry/trunk/chemistry-opencmis-workbench/chemistry-op
> encmis-workbench/target/start
>     [copy] Copying 2 files to
> /Users/ian/Desktop/Chemistry/trunk/chemistry-opencmis-workbench/chemistry-op
> encmis-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
> /Users/ian/Desktop/Chemistry/trunk/chemistry-opencmis-workbench/chemistry-op
> encmis-workbench/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> Failure executing javac, but could not parse the error:
> javac: invalid target release: 1.6
> Usage: javac <options> <source files>
> where possible options include:
>  -g                         Generate all debugging info
>  -g:none                    Generate no debugging info
>  -g:{lines,vars,source}     Generate only some debugging info
>  -nowarn                    Generate no warnings
>  -verbose                   Output messages about what the compiler is
> doing
>  -deprecation               Output source locations where deprecated APIs
> are used
>  -classpath <path>          Specify where to find user class files
>  -cp <path>                 Specify where to find user class files
>  -sourcepath <path>         Specify where to find input source files
>  -bootclasspath <path>      Override location of bootstrap class files
>  -extdirs <dirs>            Override location of installed extensions
>  -endorseddirs <dirs>       Override location of endorsed standards path
>  -d <directory>             Specify where to place generated class files
>  -encoding <encoding>       Specify character encoding used by source files
>  -source <release>          Provide source compatibility with specified
> release
>  -target <release>          Generate class files for specific VM version
>  -version                   Version information
>  -help                      Print a synopsis of standard options
>  -X                         Print a synopsis of nonstandard options
>  -J<flag>                   Pass <flag> directly to the runtime
system
>
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 13 seconds
> [INFO] Finished at: Fri Jan 07 10:38:55 GMT 2011
> [INFO] Final Memory: 93M/167M
> [INFO]
> ------------------------------------------------------------------------
> 2011-01-07 10:38:56.168:INFO::Shutdown hook executing
> 2011-01-07 10:38:56.168:INFO::Shutdown hook complete
>
>
> Skipping the building of the workbench would suffice.
>
> 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

Mime
View raw message