Foren

liferay source compiling error

xinwuke xinwuke, geändert vor 19 Jahren.

liferay source compiling error

Junior Member Beiträge: 43 Beitrittsdatum: 09.12.04 Neueste Beiträge
Hi,<br /><br />I use java version &quot;1.4.2_05&quot; and Apache Ant version 1.6.2.<br /><br />I downloaded liferay-portal-ent-3.1.0-src.zip, after unzip the file, I moved the release.properties file to release.myusrname.properties and did some modification according to the NAIT tutorial about server extension part. Then I typed &quot;ant start&quot; in the portal directory, and got the following compiling errors:<br /><br />/home/liferay-portal-3.1.0/portal&gt; ant start<br />Buildfile: build.xml<br /><br />start:<br /><br />compile:<br /><br />init:<br /> [echo] ##### UTIL-JAVA #####<br /><br />compile:<br /><br />init:<br /> [echo] ##### UTIL-WSRP #####<br /><br />compile:<br /><br />init:<br /> [echo] ##### PORTAL-EJB #####<br /><br />compile-common:<br /><br />compile:<br /><br />init:<br /> [echo] ##### APPLETS / LAWT #####<br /><br />compile:<br /> [mkdir] Created dir: /home/liferay-portal-3.1.0/portal/applets/lawt/classes<br /> [javac] Compiling 4 source files to /home/liferay-portal-3.1.0/portal/applets/ lawt/classes<br /><br />init:<br /> [echo] ##### APPLETS / CALCULATOR #####<br /><br />compile:<br /> [mkdir] Created dir: /home/liferay-portal-3.1.0/portal/applets/calculator/clas ses<br /> [javac] Compiling 1 source file to /home/liferay-portal-3.1.0/portal/applets/c alculator/classes<br /><br /> [javac] Found 1 semantic error compiling &quot;/home/liferay-portal-3.1.0/portal/ap plets/calculator/src/com/liferay/applets/calculator/Calculator.java&quot;:<br /><br /> [javac] 147. public boolean keyDown(Event e, int key) {<br /> [javac] ^-----------------------^<br /> [javac] *** Semantic Error: The overridden method &quot;boolean keyDown(java.awt.Ev ent e, int key);&quot; is deprecated in type &quot;java.awt.Component&quot;.<br /><br />BUILD FAILED<br />/home/liferay-portal-3.1.0/portal/build.xml:23: The following error occurred while executing this line:<br />/home/liferay-portal-3.1.0/portal/build.xml:60: The following error occurred while executing this line:<br />/home/liferay-portal-3.1.0/portal/applets/build.xml:17: The following error occurr ed while executing this line:<br />/home/liferay-portal-3.1.0/portal/applets/calculator/build.xml:43: Compile failed; see the compiler error output for details.<br /><br /><br />Please help.<br /><br />Wuke
Brett Randall, geändert vor 19 Jahren.

liferay source compiling error

Liferay Legend Beiträge: 1254 Beitrittsdatum: 18.08.04 Neueste Beiträge
This is a FAQ, search the forums, caused by bug in Jikes 1.22, go back to Jikes 1.21.
thumbnail
Jason Poley, geändert vor 19 Jahren.

liferay source compiling error

Junior Member Beiträge: 88 Beitrittsdatum: 21.10.04 Neueste Beiträge
This is a FAQ, search the forums, caused by bug in Jikes 1.22, go back to Jikes 1.21.<br />

<br />
<br /><br />Jikes 1.21 doesn&#39;t appear to have a windows release? is this the case or did i just not find it?<br />
thumbnail
Jason Poley, geändert vor 19 Jahren.

liferay source compiling error

Junior Member Beiträge: 88 Beitrittsdatum: 21.10.04 Neueste Beiträge
Jikes 1.21 doesn&#39;t appear to have a windows release? is this the case or did i just not find it?<br />

<br />
<br /><br />never mind, i found it. sorry to waste your time<br /><br />its here<br /><a href='http://www-124.ibm.com/developerworks/downloads/detail.php?group_id=10&what=file&id=1361' target='_blank'>http://www-124.ibm.com/developerworks/down...at=file&id=1361</a>