Menu

#1 Adds class files to Perforce

open
None
9
2002-05-21
2002-05-20
Anonymous
No

I usually don't add class files to Perforce, but the
file watcher adds them when they are first created. At
least need an option to stop them from being added
automatically. Of course you should be able to add
them yourself if you like.

Discussion

  • Niclas Olofsson

    Niclas Olofsson - 2002-05-21
    • priority: 5 --> 9
     
  • Niclas Olofsson

    Niclas Olofsson - 2002-05-21

    Logged In: YES
    user_id=280170

    If this is correct I'll add a filtering mechanism asap to
    the config file. Strange that I don't notice this myself
    though. I'll experiment some more and then add the filtering.

     
  • Niclas Olofsson

    Niclas Olofsson - 2002-05-21
    • assigned_to: nobody --> gurun
     
  • Gary Evesson

    Gary Evesson - 2002-05-21

    Logged In: YES
    user_id=550040

    The ones that I noticed were anonymous inner classes. I'll
    see if I can get a definitive test for you today.

     
  • Gary Evesson

    Gary Evesson - 2002-05-21

    Logged In: YES
    user_id=550040

    Definitely repeatable. To repeat it, I created an
    ActionListener for a menu item:
    aboutItem.addActionListener( new ActionListener() {
    public void actionPerformed( ActionEvent e )
    {

    }
    });

    and compiled. Got the following on the console:-

    Loaded - Perforce Intellij Refactoring Integration Plugin -
    Perfin
    //depot/CBSA/classes/com/cbsa/Main$4.class#1 - opened for
    add

    The inner class is added to Perforce.

     
  • Niclas Olofsson

    Niclas Olofsson - 2002-05-23

    Logged In: YES
    user_id=280170

    Ok, interesting. Does it only apply to inner classes or is
    it all (I suspect the later, right). Anyway, autoAdd is not
    one of the main features of Perfin right now since this is
    easily doable using the regular perforce.xml tool anyway.
    But I did (in release 1.0.b3) add a property to turn autoAdd
    and autoDelete on/off. Default is off. Doesn't solve this
    bug, but I'm working on that, using Ant's DirectoryScanner
    class (include/exlude file patterns). It is almost working
    on my workspace, so expect it in a couple of days or so.

     

Log in to post a comment.

MongoDB Logo MongoDB