Closed Bug 658795 Opened 15 years ago Closed 7 years ago

abcasm should have a usage and options screen when run with no arguments

Categories

(Tamarin Graveyard :: Tools, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: gchaney, Unassigned)

Details

User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) Build Identifier: abcasm is missing a usage and options screen. Other standard methods of obtaining an options screen, such as /? /help --version all fail with java.io.FileNotFoundExceptions. C:\Projects\tamarin\helloworld>java -jar ..\abcasm\bin\abcasm.jar C:\Projects\tamarin\helloworld>java -jar ..\abcasm\bin\abcasm.jar /? Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa der.java:58) Caused by: java.io.FileNotFoundException: \? (The filename, directory name, or v olume label syntax is incorrect) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at org.antlr.runtime.ANTLRFileStream.load(ANTLRFileStream.java:59) at org.antlr.runtime.ANTLRFileStream.<init>(ANTLRFileStream.java:47) at org.antlr.runtime.ANTLRFileStream.<init>(ANTLRFileStream.java:42) at abcasm.Main.assemble(Main.java:65) at abcasm.Main.main(Main.java:55) ... 5 more C:\Projects\tamarin\helloworld>java -jar ..\abcasm\bin\abcasm.jar /help Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa der.java:58) Caused by: java.io.FileNotFoundException: \help (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at org.antlr.runtime.ANTLRFileStream.load(ANTLRFileStream.java:59) at org.antlr.runtime.ANTLRFileStream.<init>(ANTLRFileStream.java:47) at org.antlr.runtime.ANTLRFileStream.<init>(ANTLRFileStream.java:42) at abcasm.Main.assemble(Main.java:65) at abcasm.Main.main(Main.java:55) ... 5 more C:\Projects\tamarin\helloworld>java -jar ..\abcasm\bin\abcasm.jar --version Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa der.java:58) Caused by: java.io.FileNotFoundException: --version (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at org.antlr.runtime.ANTLRFileStream.load(ANTLRFileStream.java:59) at org.antlr.runtime.ANTLRFileStream.<init>(ANTLRFileStream.java:47) at org.antlr.runtime.ANTLRFileStream.<init>(ANTLRFileStream.java:42) at abcasm.Main.assemble(Main.java:65) at abcasm.Main.main(Main.java:55) ... 5 more Reproducible: Always Steps to Reproduce: 1. Compile abcasm.jar 2. run with no arguments: java -jar abcasm.jar 3. Expected Results: A usage screen giving version number, usage, and options.
Flags: flashplayer-qrb+
Target Milestone: --- → Future
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.