[
https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489652
]
Cyriaque Dupoirieux commented on FOR-984:
-----------------------------------------
I have the following warning (build.sh) with the java 1.5.0_11 on Mandriva
Linux Free 2007 :
init:
--------------------------------------------------------------
Using Apache Ant version 1.6.5 compiled on May 16 2006
Build file /home/windchill/Desktop/forrest/main/build.xml
Use 'build.[sh|bat] -projecthelp' to see other options.
Build system home /home/windchill/Desktop/forrest/tools/ant
Build number 1
Project Name Forrest build file
Java Version 1.5
Timestamp 200704170207
This is: apache-forrest 0.8
--------------------------------------------------------------
compile:
Created dir: /home/windchill/Desktop/forrest/build/classes
Compiling 32 source files to /home/windchill/Desktop/forrest/build/classes
/home/windchill/Desktop/forrest/main/java/org/apache/forrest/locationmap/lm/LocationMap.java:256:
warning: [deprecation]
compose(java.lang.Object,org.apache.avalon.framework.component.ComponentManager)
in org.apache.avalon.framework.container.ContainerUtil has been deprecated
ContainerUtil.compose(context, new WrapperComponentManager(m_manager));
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
I think this may help, some APIs are deprecated in the 1.5 so they should not
be used with 1.6...
> Forrest doesn't work properly with Sun's JDK 1.6
> ------------------------------------------------
>
> Key: FOR-984
> URL: https://issues.apache.org/jira/browse/FOR-984
> Project: Forrest
> Issue Type: Improvement
> Components: Core operations, Launch 'forrest'
> Affects Versions: 0.8-dev, 0.9
> Reporter: Schumarer
> Fix For: 0.9
>
> Attachments: log.txt
>
>
> Hi,
> This problem is quite easy to reproduce. First, install Sun's JDK 1.6
> (whatever version until 1.6.0_01-b06 ) define your %JAVA_HOME% on that JDK.
> When you seed a new projet, there is no problem and it works.
> When you do a "forrest run", it works too, but when you do a "forrest" it
> doesn't work anymore. I'll try to attach a full log.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.