Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#14011 closed defect (fixed)

Add ecj script to execute eclipse-ecj.jar

Reported by: mvfranz@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

The original Portfile and scripts were incomplete and need to be updated to allow the ecj.jar (now eclipse-ecj.jar) file to be excuted as a jar file.

The Portfile and files/build.xml need to be updated and a new file ecj needs to be added to the files directory.

Attachments (4)

Portfile-eclipse-ecj32.diff (674 bytes) - added by mvfranz@… 12 years ago.
Portfile patch
build.xml-eclipse-ecj32.diff (417 bytes) - added by mvfranz@… 12 years ago.
diff of build.xml to rename the output jar to eclipse-ecj.jar
ecj (896 bytes) - added by mvfranz@… 12 years ago.
New script file to execute ecj as a java compiler
MANIFEST.MF (355 bytes) - added by mvfranz@… 12 years ago.
java manifest file to make eclipse-ecj.jar and executable jar

Download all attachments as: .zip

Change History (10)

Changed 12 years ago by mvfranz@…

Attachment: Portfile-eclipse-ecj32.diff added

Portfile patch

Changed 12 years ago by mvfranz@…

diff of build.xml to rename the output jar to eclipse-ecj.jar

Changed 12 years ago by mvfranz@…

Attachment: ecj added

New script file to execute ecj as a java compiler

Changed 12 years ago by mvfranz@…

Attachment: MANIFEST.MF added

java manifest file to make eclipse-ecj.jar and executable jar

comment:1 Changed 12 years ago by mvfranz@…

I forgot to mention the MANIFEST.MF as a new file in the original description. This is needed to make the jar file executable.

comment:2 Changed 12 years ago by jmpp@…

Milestone: Port Bugs

comment:3 Changed 12 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…

comment:4 Changed 12 years ago by ryandesign (Ryan Schmidt)

Thanks! I committed it in r33623 with these changes:

  • I bumped the port revision so everyone gets this change
  • I removed trailing whitespace from line 45 (see "port lint")

However I will need to commit a follow-up revision so that "/opt/local" is not hard-coded into the portfile. (MacPorts could be installed into a different prefix.)

comment:5 Changed 12 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

No longer hard-coding "/opt/local" in r33624.

comment:6 Changed 11 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.