#763 Console javac Commando Problems

closed-fixed
None
5
2012-01-29
2006-11-28
No

With the console plugin I get two problems:

1. You can't have a space in a path, a pain on widows since commands are in Program Files (note space)

2. It doesn't remember any corrections you make to its fields, you have to make the corrections each time the command is run. EG when running Javac for example and you change the path or the classpath these changes are not remembered

Discussion

  • Alan Ezust

    Alan Ezust - 2006-11-29
    • summary: Console Cammando Problems --> Console Commando Problems
     
  • Alan Ezust

    Alan Ezust - 2006-11-29

    Logged In: YES
    user_id=935841
    Originator: NO

    What version of Console? What version of jEdit? What commando command are you trying to use?
    Please be specific about the path you wish to try. It could be a bug in one specific commando file or it could be more systemic.

    For me, it does remember the settings of previous executions, so I can not reproduce either of your problems at the moment.

     
  • Howard Lovatt

    Howard Lovatt - 2006-12-01

    Logged In: YES
    user_id=656791
    Originator: YES

    The version are: jEdit is 4.3pre8, console , command javac for path remembering problem (see below), and scalac for space problem (see below), java version , windows XP sp2.

    I will use javac for an example of the remembering problem. javac remembers some things but not others. EG it remembers the no warn flag but not the source path. If I change the source path by adding an extra directory say, then run the command again it forgets the change. See below:

    C:\Program Files\jEdit> javac -classpath "$CLASSPATH;C:\Personal\Java\" -sourcepath "C:\Personal\Java\examples" -g -deprecation -encoding Cp1252 "C:\Personal\Java\examples\skier\generics\SkierRooms.java"
    Process javac exited with code 0
    C:\Program Files\jEdit> javac -classpath "$CLASSPATH;C:\Personal\Java\" -sourcepath "C:\Personal\Java\" -g -deprecation -encoding Cp1252 "C:\Personal\Java\examples\skier\generics\SkierRooms.java"
    Process javac exited with code 0

    On the first run I added examples to the source path and it forgot this on the second run. Both runs were via the javac button in the toolbar.

    This may well be a feature, but it surprised me.

    For the space problem I had a problem with scalac, this is the compiler for the language scala. Since this isn't from jedit.org I suspect that this may be a problem with the scala plugin to jedit. In particular javac surrounds everything in quotes whereas scalac doesn't.

     
  • Alan Ezust

    Alan Ezust - 2007-02-13

    Logged In: YES
    user_id=935841
    Originator: NO

    You can customize the commando.xml files quite easily by right-clicking on the button and saying "customize".
    If you want to experiment and determine where the right places are to put quotes, you can submit a patch and I'll review it.

     
  • Alan Ezust

    Alan Ezust - 2007-02-13
    • summary: Console Commando Problems --> Console javac Commando Problems
     
  • Alan Ezust

    Alan Ezust - 2012-01-29
    • status: open --> closed
     
  • Alan Ezust

    Alan Ezust - 2012-01-29

    Issue #1 is already reported as issue# 2438719

     
  • Alan Ezust

    Alan Ezust - 2012-01-29

    For issue#2, I replaced ENTRY with HIST_ENTRY in the XML file and committed rev#21014

     
  • Alan Ezust

    Alan Ezust - 2012-01-29
    • assigned_to: nobody --> ezust
    • status: closed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks