November 12, 2007

tips: eclipse, plugin, refresh

eit lite tips dersom ein plugin ikkje vil trø i kraft...

Frequently Asked Questions - JUtils ToString Generator Plugin for Eclipse
# I installed the plugin properly but can't see it anywhere:
This can happen sometimes. All you have to do is close the IDE and start it using the -clean option from command line.

# How do I use the -clean option?
-clean is a command line switch for the eclipse.exe executable. To use this, you have to open your command prompt/shell and navigate to the Eclipse installation directory. From there, type either eclipse clean or eclipse -clean. That should start the IDE.

# How will the -clean option help?
Eclipse stores lot of workspace specific data in local file system for better performance. When a new version of some plugin is installed, it's quite possible that the new version is using the plugin specific data such as preference stores created by the older version. To clean this up and aid recreation of preference stores, the -clean option is recommended.

November 8, 2007

Enkle screenshots i firefox

https://addons.mozilla.org/en-US/firefox/addon/5648

Ser temmelig pen ut. Mye mindre smertefullt å illustrere bugs.

(Inge via epost)

October 4, 2007

annotation: @SuppressWarnings

Excluding warnings using SuppressWarnings

Help - Eclipse SDK (at the bottom of this page...)

Java 5.0 offers the option to the user to disable compilation warnings relative to a subset of a compilation unit using
the annotation java.lang.SuppressWarning.

 @SuppressWarning("unused") public void foo() {
String s;
}

Without the annotation, the compiler would complain that the local variable s is never used. With the annotation, the compiler silently ignores this warning locally to the foo method. This enables to keep the warnings in other locations of the same compilation unit or the same project.

The list of tokens that can be used inside an SuppressWarning annotation is:

  • all to suppress all warnings
  • boxing to suppress warnings relative to boxing/unboxing operations
  • cast to suppress warnings relative to cast operations
  • dep-ann to suppress warnings relative to deprecated annotation
  • deprecation to suppress warnings relative to deprecation
  • fallthrough to suppress warnings relative to missing breaks in switch statements
  • finally to suppress warnings relative to finally block that don't return
  • hiding to suppress warnings relative to locals that hide variable
  • incomplete-switch to suppress warnings relative to missing entries in a switch statement (enum case)
  • nls to suppress warnings relative to non-nls string literals
  • null to suppress warnings relative to null analysis
  • restriction to suppress warnings relative to usage of discouraged or forbidden references
  • serial to suppress warnings relative to missing serialVersionUID field for a serializable class
  • static-access to suppress warnings relative to incorrect static access
  • synthetic-access to suppress warnings relative to unoptimized access from inner classes
  • unchecked to suppress warnings relative to unchecked operations
  • unqualified-field-access to suppress warnings relative to field access unqualified
  • unused to suppress warnings relative to unused code

October 3, 2007

ms ie 6, headache for developers


6 Reasons Why IE6 Must Die
[my italic]
Internet Explorer 6, released on August 27, 2001, was a package of problems right from the start. Within a year of release, Microsoft silently declared that IE6 would not make enough money for them to support as closely as a browser should supported. The result has been numerous security problems, unfixed browser bugs, and a daily migraine for developers.
....
Lack of PNG Transparency Support
....
CSS Float + Margin / Padding Issues
....
Lack of CSS Pseudo-Class & Pseudo-Element Support
....
No Min-Height CSS Support
....
CSS Anchor Background Image Flicker
....
Crashing With Code

September 28, 2007

project, bug, tools

ting å vurdera: trac, ny mantis

dersom me vurderer svn: trac

The Trac Project - Trac
Trac is an enhanced wiki and issue tracking system for software development projects.
....
provides an interface to Subversion, an integrated Wiki and convenient reporting facilities.
....
A timeline shows all project events in order, making the acquisition of an overview of the project and tracking progress very easy.
kan også koplast (litt) til mantis...
Also, it's quite simple to write a plugin to redirect ticket references
to your legacy ticket system: e.g. mantis_tickets.py.
ny mantis - utvalg av nye features:
  • Wiki Integration (#7075): This involves integration with a Wiki where issues, projects, project versions, and users have Wiki pages.
  • project page
  • Limit width/height of Image Previews (#6252)
    - It is now possible to configure the maximum width and height of an
    image preview. This is useful for keeping the issue readable when users
    attach big screenshots.
  • Screenshots for Mantis (#7053)
    - This is not really a Mantis feature, but a plug-in was developed for
    the free Cropper screen capture tool to simplify the process of taking
    a screen shot, cropping it, compressing it and attaching it to a Mantis
    issue. This tool is for Windows users and requires .NET 1.1 framework
    to be installed.

September 27, 2007

jf mantis, xp-plan, etc

stikkord: wiki, prosjekt, bugs, estimering, eclipse-plugin, mm

FogBugz
FogBugz is a complete project management system designed to help software teams communicate. It helps them work together by tracking, prioritizing, and coordinating the thousands of small tasks a development team has to do.
godbitar: eclipse-plugin, automatiske release-notes

om estimering
FogBugz displays a probability curve of ship dates
....
it will show you each developer’s ship date graphically so you can find bottlenecks
....
FogBugz combs over historical data to build a statistical model of how good each developer is at estimating
....
By adjusting a slider, you can see how implementing low priority features would change your schedule.
bottlenecks - rett inn på critical chain-tenkning...