[ http://jira.magnolia.info/browse/MAGNOLIA-1459?page=comments#action_13799 
] 
            
Grégory Joseph commented on MAGNOLIA-1459:
------------------------------------------

How exactly is that a problem? It is a fact (which will not change) that we 
require java5 to compile and execute the tests, so what are you expecting to be 
changed ?

This looks to me like a "how to" which could possibly have its place on the 
wiki (although I don't see why a developer would not have java5 installed), not 
an issue ?

> Can't import project on Eclipse wtp with JDK 1.4.2
> --------------------------------------------------
>
>                 Key: MAGNOLIA-1459
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1459
>             Project: Magnolia
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 3.0.2
>         Environment: Windows XP Pro, tomcat 5.0, JDK 1.4.2.12, maven 2.5, 
> eclipse wtp 3.2.2
>            Reporter: CAPITAINE Harold
>         Assigned To: Fabrizio Giustina
>            Priority: Minor
>         Attachments: pom.patch
>
>
> This procedure is based on a fresh install procedure:
> - Be sure that there is no .m2 directory
> - download the jar of jcr, then type "mvn install:install-file 
> -DgroupId=javax.jcr -DartifactId=jcr -Dversion=1.0 -Dpackaging=jar 
> -Dfile=/path/to/the/jar"
> - Type the following command in the source directory of the project: mvn 
> clean eclipse:clean eclipse:eclipse -Dwtpversion=1.5
> You can import the project into eclipse but the project is not runnable with 
> the embedded server because of the project facet that is set to 5.0 instead 
> of 1.4
> A workaround and a tricky way to avoid this problem is to change a specific 
> value in the main pom.xml (see the file attached).
> Under the artifactId tag which is set to the value maven-compiler-plugin, set 
> the values of the tag target and source to 1.4.
> And if you want to generate the war, just type :
> mvn install -Dmaven.test.skip=true
> It's necessary because the tests don't work anymore.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to