Menu

#18 Command Line per-file processing

open
nobody
Other (3)
5
2001-12-05
2001-12-05
No

It would be really nice if you could expose
the "javadoc stub creation" feature on a single file
(or directory) via the command line.

example:

=MyFunClass.java==========================
public class MyFunClass {

public boolean someMethod(String name) throws
Exception {
return true;
}
}

=MyFunClass.java==========================

then you run the command:
java -jar JDocHelper.jar MyFunClass.java
possibly with -in -out flags or a -backupSuffix flag
i.e.
java -jar JDocHelper.jar -backupSuffix .bak
MyFunClass.java

and then you would get the following file (this
assumes running the first command):

=MyFunClass.java==========================
/**
*
*
* @author
* @version
*/
public class MyFunClass {

/**
*
* @param name
* @return
* @throws
*/
public boolean someMethod(String name) throws
Exception {
return true;
}
}

=MyFunClass.java==========================

It looks like the functionality should be there, and
this would be a very nice addition.

This would also allow integration into IDEs via
external tools...

Thanks.

Discussion

  • Hiroyuki Kurokawa

    Logged In: YES
    user_id=136668

    Thank you for feedback.
    Actually I'm implementing this kind of feature.
    At the next release, you can use JDocHelper via command line.

     
  • Noah Nordrum

    Noah Nordrum - 2001-12-06

    Logged In: YES
    user_id=150422

    any idea when the next version will be coming out? not
    nagging, just curious :)

    btw, great work so far :)

     
  • Hiroyuki Kurokawa

    Logged In: YES
    user_id=136668

    Thank you.

    I'm trying to release the next version in this month.
    Or in January at the latest.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.