Works for me on linux 1.4.2 ...

    [echo] Compiling to
/usr/local/home/martin/ews30andromda/workspace/andromda-all/andromda/target/classes
    [echo]
==========================================================
 
  NOTE: Targetting JVM 1.4, classes
  will not run on earlier JVMs
 
==========================================================
           
    [javac] Compiling 392 source files to
/usr/local/home/martin/ews30andromda/workspace/andromda-all/andromda/target/classes
 

The change was to project.properties in the root directory ...

# Compile settings
# Have to set source, implies target 1.4
maven.compile.source=1.4
                                                                                
                      
Try commenting out the maven.compile.source line

Which OS are you on?

On Fri, 2005-01-21 at 10:12, Matthias KÃspert wrote:
> Hi, 
> 
> since my last cvs update today building the andromda-source fails with: 
> 
> >maven -o
> .... parser builds fine ...
> 
>     [echo] Compiling to /data/work/andromda-cvs/andromda/target/classes 
>     [javac] Compiling 392 source files to
> /data/work/andromda-cvs/andromda/target/classes 
> javac: source release 1.4 requires target release 1.4 
> 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 
>   -sourcepath <path>        Specify where to find input source files 
>   -bootclasspath <path>     Override location of bootstrap class files 
>   -extdirs <dirs>           Override location of installed extensions 
>   -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
>   -help                     Print a synopsis of standard options 
> 
> I'm using Java 1.4.1, same occurs with 1.4.2 - do I have to upgrade to
> 1.5?
> 
> Did anybody encounter the same problem and maybe found a solution?
> 
> TIA, 
> Matthias
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Andromda-user mailing list
> Andromda-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/andromda-user



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to