-
1. Re: Java 1.5
darranl Aug 10, 2005 3:26 PM (in response to patrickdalla)Just execute the build batch script under the build folder.
-
2. Re: Java 1.5
patrickdalla Aug 11, 2005 10:18 AM (in response to patrickdalla)No, it didn't work.
it says the target of the code is 1.3. (or a message like this).
I'm in home and downloading the code. Then I will try again and I'll post the real message here. -
3. Re: Java 1.5
patrickdalla Aug 11, 2005 10:20 AM (in response to patrickdalla)There is another problem in build script.
When the JDK is installed in a directory which name has spaces it doesn't function.
Someone could solve this problem. -
4. Re: Java 1.5
theute Aug 11, 2005 10:27 AM (in response to patrickdalla)I fixed the 1.3 problem a while ago.
It compiles fine like Darran Said
Make sure to have the 1.3 version of tools/etc/buildfragments/defaults.ent
You should have the following lines in it:<property name="javac.source" value="1.4"/> <property name="javac.target" value="1.4"/>
-
5. Re: Java 1.5
darranl Aug 11, 2005 12:30 PM (in response to patrickdalla)patrickdalla,
How did you obtain the code you are trying to compile?
At the weekend I compiledcvs co -r JBoss_Portal_Branch_2_0 jboss-portal-2.0
andcvs co jboss-portal-2.2
-
6. Re: Java 1.5
patrickdalla Aug 12, 2005 12:03 PM (in response to patrickdalla)Downloading it from
"http://www.jboss.com/products/jbossportal/downloads" -
7. Re: Java 1.5
patrickdalla Aug 12, 2005 12:14 PM (in response to patrickdalla)Thomas,
I've included the lines but now the problem is 1.4. The version of JDK I have is 1.5.
I've tryed to configure these line with 1.5 value but other problems happened.
Can you put the change with no problem to be downloadable from "http://www.jboss.com/products/jbossportal/downloads"
I can't access CVS from my internal network -
8. Re: Java 1.5
theute Aug 17, 2005 8:18 AM (in response to patrickdalla)Again, it compiles fine with jdk 1.5. (i tried again just now with the sources at the URL you mentionned)
The patch was made back in February and so is already in the 2.0 release
The lines i mentionned are already there and must not be changed.