Just execute the build batch script under the build folder.
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.
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.
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"/>
How did you obtain the code you are trying to compile?
At the weekend I compiled
cvs co -r JBoss_Portal_Branch_2_0 jboss-portal-2.0
cvs co jboss-portal-2.2
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
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.