Foren

Home » Liferay Portal » English » Liferay Legacy

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
xinwuke xinwuke
liferay source compiling error
10. Januar 2005 14:47
Antwort

xinwuke xinwuke

Rang: Junior Member

Nachrichten: 43

Eintrittsdatum: 8. Dezember 2004

Neue 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 /> ##### UTIL-JAVA #####<br /><br />compile:<br /><br />init:<br /> ##### UTIL-WSRP #####<br /><br />compile:<br /><br />init:<br /> ##### PORTAL-EJB #####<br /><br />compile-common:<br /><br />compile:<br /><br />init:<br /> ##### APPLETS / LAWT #####<br /><br />compile:<br /> Created dir: /home/liferay-portal-3.1.0/portal/applets/lawt/classes<br /> Compiling 4 source files to /home/liferay-portal-3.1.0/portal/applets/ lawt/classes<br /><br />init:<br /> ##### APPLETS / CALCULATOR #####<br /><br />compile:<br /> Created dir: /home/liferay-portal-3.1.0/portal/applets/calculator/clas ses<br /> Compiling 1 source file to /home/liferay-portal-3.1.0/portal/applets/c alculator/classes<br /><br /> 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 /> 147. public boolean keyDown(Event e, int key) {<br /> ^-----------------------^<br /> *** 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
liferay source compiling error
10. Januar 2005 15:27
Antwort

Brett Randall

Rang: Liferay Legend

Nachrichten: 1254

Eintrittsdatum: 17. August 2004

Neue Beiträge

This is a FAQ, search the forums, caused by bug in Jikes 1.22, go back to Jikes 1.21.
Jason Poley
liferay source compiling error
14. Januar 2005 13:34
Antwort

Jason Poley

Rang: Junior Member

Nachrichten: 96

Eintrittsdatum: 20. Oktober 2004

Neue 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 />
Jason Poley
liferay source compiling error
14. Januar 2005 13:46
Antwort

Jason Poley

Rang: Junior Member

Nachrichten: 96

Eintrittsdatum: 20. Oktober 2004

Neue 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>