Opened 12 years ago

Closed 10 years ago

#19791 closed defect (fixed)

clojure @1.0.0_0 won't run clojure scripts

Reported by: pdhb@… Owned by: mdippery@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: clojure

Description

If a filename is passed to the clj script "FileNotFoundException" is thrown even when the file exists.

Solution: replace

cljscript='clojure.lang.Script'

with

cljscript='clojure.main'

Attachments (4)

Portfile.diff (376 bytes) - added by mdippery@… 11 years ago.
Changes to Portfile to fix bug
clj.sh.diff (279 bytes) - added by mdippery@… 11 years ago.
Changes to clj.sh to fix bug
clj-jline.sh.diff (300 bytes) - added by mdippery@… 11 years ago.
Changes to clj-jline.sh to fix bug
clj-rlwrap.sh.diff (303 bytes) - added by mdippery@… 11 years ago.
Changes to clj-rlwrap.sh to fix bug

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mdippery@…
Port: clojure added

Changed 11 years ago by mdippery@…

Attachment: Portfile.diff added

Changes to Portfile to fix bug

Changed 11 years ago by mdippery@…

Attachment: clj.sh.diff added

Changes to clj.sh to fix bug

Changed 11 years ago by mdippery@…

Attachment: clj-jline.sh.diff added

Changes to clj-jline.sh to fix bug

Changed 11 years ago by mdippery@…

Attachment: clj-rlwrap.sh.diff added

Changes to clj-rlwrap.sh to fix bug

comment:2 Changed 10 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Seems to have been fixed by r62262.

Note: See TracTickets for help on using tickets.