Hello Christian!

A long time ago now, I wrote the section that is now the section 7.2 in the
Cookbook about what to do before committing. I don't think they have ever
been used strictly because they are too cumbersome.

Nowadays, when we use Eclipse, the problems with lacking dependency graphs
in ant that is the reason for all the "build clean and then build
again"-steps are gone so we need to think differently.

I would like to have all JUnit tests run before each commit but since it
takes several minutes I guess it is too long to wait.

Does anybody know of a continuous JUnit-module for Eclipse that plugs into
the dependency rules and knows what JUnit tests to fire for each
modification? That would perhaps be something to investigate.
        /Linus


2008/11/13 Christian López Espínola <[EMAIL PROTECTED]>

> Hi all,
>
> My last commit to trunk was after finding that SVN HEAD was not
> working before of a StackOverflowException on initialization.
> Right now I updated again, and another fatal error occurred when
> starting ArgoUML (stacktrace later).
>
> I'm wondering if we are following any basic best practices before
> commiting, or maybe I'm using a strange configuration (recently I
> switched from branch/0.26.x  to trunk again).
> If I'm not doing anything wrong, we should be more carefully about
> testing before committing. We should try to launch unit tests, or at
> least, try to launch the application.
>
> Fatal error on startup.  ArgoUML failed to start.
> java.lang.NullPointerException
>        at
> org.argouml.kernel.ProjectManager.execute(ProjectManager.java:426)
>        at org.argouml.model.Model.execute(Model.java:596)
>        at
> org.argouml.model.mdr.CoreHelperMDRImpl.createCommand(CoreHelperMDRImpl.java:3528)
>        at
> org.argouml.model.mdr.CoreHelperMDRImpl.setName(CoreHelperMDRImpl.java:2986)
>        at
> org.argouml.model.AbstractCoreHelperDecorator.setName(AbstractCoreHelperDecorator.java:611)
>        at
> org.argouml.kernel.ProjectManager.createDefaultModel(ProjectManager.java:336)
>        at
> org.argouml.kernel.ProjectManager.createDefaultDiagrams(ProjectManager.java:315)
>        at
> org.argouml.kernel.ProjectManager.access$2(ProjectManager.java:314)
>        at
> org.argouml.kernel.ProjectManager$1.execute(ProjectManager.java:290)
>        at
> org.argouml.kernel.ProjectManager.makeEmptyProject(ProjectManager.java:303)
>        at
> org.argouml.kernel.ProjectManager.makeEmptyProject(ProjectManager.java:264)
>        at
> org.argouml.kernel.ProjectManager.getCurrentProject(ProjectManager.java:242)
>        at org.argouml.ui.explorer.ExplorerTree.<init>(ExplorerTree.java:87)
>        at
> org.argouml.ui.explorer.DnDExplorerTree.<init>(DnDExplorerTree.java:144)
>        at org.argouml.ui.NavigatorPane.<init>(NavigatorPane.java:73)
>        at
> org.argouml.ui.ProjectBrowser.createPanels(ProjectBrowser.java:447)
>        at org.argouml.ui.ProjectBrowser.<init>(ProjectBrowser.java:275)
>        at
> org.argouml.ui.ProjectBrowser.makeInstance(ProjectBrowser.java:411)
>        at org.argouml.application.Main.initializeGUI(Main.java:837)
>        at org.argouml.application.Main.initializeSubsystems(Main.java:396)
>        at org.argouml.application.Main.main(Main.java:167)
>
>
> --
> Cheers,
>
> Christian López Espínola <penyaskito>
>

Reply via email to