AnsweredAssumed Answered

[ solved ] invalid target release: 1.5

Question asked by mrudmann on Dec 19, 2006
Latest reply on Dec 19, 2006 by mrudmann
I was using eclipse and ant to build Alfresco from HEAD and i received this error: invalid target release: 1.5

Also, eclipse gives me the following error information when I attempted that ant build:

[echo] Starting build for core at 17:42
compile-java:
    [mkdir] Created dir: C:\Rudmann\Alfresco\HEAD\root\projects\core\build\classes
    [javac] Compiling 62 source files to C:\Rudmann\Alfresco\HEAD\root\projects\core\build\classes
    [javac] javac: invalid target release: 1.5
    [javac] Usage: javac <options> <source files>
    [javac] where possible options include:
    [javac] -g                        Generate all debugging info
    [javac] -g:none                   Generate no debugging info
    [javac] -g:{lines,vars,source}    Generate only some debugging info
    [javac] -nowarn                   Generate no warnings
    [javac] -verbose                  Output messages about what the compiler is doing
    [javac] -deprecation              Output source locations where deprecated APIs are used
    [javac] -classpath <path>         Specify where to find user class files
    [javac] -sourcepath <path>        Specify where to find input source files
    [javac] -bootclasspath <path>     Override location of bootstrap class files
    [javac] -extdirs <dirs>           Override location of installed extensions
    [javac] -d <directory>            Specify where to place generated class files
    [javac] -encoding <encoding>      Specify character encoding used by source files
    [javac] -source <release>         Provide source compatibility with specified release
    [javac] -target <release>         Generate class files for specific VM version
    [javac] -help                     Print a synopsis of standard options

BUILD FAILED

—– and in the problems tab of eclipse —-

Severity and Description   Path   Resource   Location   Creation Time   Id
Project SDK CustomAction is missing required Java project: 'SDK AlfrescoEmbedded'      SDK CustomAction   Build path   1166564784140   1070
Project SDK CustomAspect is missing required Java project: 'SDK AlfrescoEmbedded'      SDK CustomAspect   Build path   1166564784156   1071
Project SDK CustomDialog is missing required Java project: 'SDK AlfrescoEmbedded'      SDK CustomDialog   Build path   1166564784171   1072
Project SDK CustomJSP is missing required Java project: 'SDK AlfrescoEmbedded'      SDK CustomJSP   Build path   1166564784171   1073
Project SDK CustomLogin is missing required Java project: 'SDK AlfrescoEmbedded'      SDK CustomLogin   Build path   1166564784171   1074
Project SDK CustomWizard is missing required Java project: 'SDK AlfrescoEmbedded'      SDK CustomWizard   Build path   1166564784187   1075
Project SDK FirstFoundationClient is missing required Java project: 'SDK AlfrescoEmbedded'      SDK FirstFoundationClient   Build path   1166564784187   1076
Project SDK FirstJCRClient is missing required Java project: 'SDK AlfrescoEmbedded'      SDK FirstJCRClient   Build path   1166564784187   1077
Project SDK JCRSamples is missing required Java project: 'SDK AlfrescoEmbedded'      SDK JCRSamples   Build path   1166564784218   1078
Project SDK TaggingSample is missing required Java project: 'SDK AlfrescoEmbedded'      SDK TaggingSample   Build path   1166564784218   1079
The project cannot be built until build path errors are resolved      SDK CustomAction   Unknown   1166564785359   1080
The project cannot be built until build path errors are resolved      SDK CustomAspect   Unknown   1166564785359   1081
The project cannot be built until build path errors are resolved      SDK CustomDialog   Unknown   1166564785390   1082
The project cannot be built until build path errors are resolved      SDK CustomJSP   Unknown   1166564785390   1083
The project cannot be built until build path errors are resolved      SDK CustomLogin   Unknown   1166564785406   1084
The project cannot be built until build path errors are resolved      SDK CustomWizard   Unknown   1166564785406   1085
The project cannot be built until build path errors are resolved      SDK FirstFoundationClient   Unknown   1166564785406   1086
The project cannot be built until build path errors are resolved      SDK FirstJCRClient   Unknown   1166564785421   1087
The project cannot be built until build path errors are resolved      SDK JCRSamples   Unknown   1166564793953   1088
The project cannot be built until build path errors are resolved      SDK TaggingSample   Unknown   1166564793953   1089


Can someone help me out?  Should I be getting the svn from another location?

Thanks!
-Matt

Outcomes