2008/4/7, Benjamin Bentmann <[EMAIL PROTECTED]>:
> > I wonder if it's worth posting these as a series under the developers
> > section of the Maven site?
> >
>
> Vincent and I had already put parts of this stuff onto [0] in a section
> named "Some Pitfalls", together with a link to this mail thre
I wonder if it's worth posting these as a series under the developers
section of the Maven site?
Vincent and I had already put parts of this stuff onto [0] in a section
named "Some Pitfalls", together with a link to this mail thread. But I
agree, having all of this in a nicely formatted APT doc
On Mon, Apr 7, 2008 at 6:21 AM, Brett Porter <[EMAIL PROTECTED]> wrote:
> Hey Benjamin,
>
> I wonder if it's worth posting these as a series under the developers
> section of the Maven site?
And building custom Checsktyle/PMD rules (if built in ones dont exist)
to flag these as error?
--
Hey Benjamin,
I wonder if it's worth posting these as a series under the developers
section of the Maven site?
- Brett
On 06/04/2008, at 9:46 PM, Benjamin Bentmann wrote:
new File( new URI( url.toString() ) )
Correction:
JRE 1.4 is happily returning invalid/unescaped URLs from
ClassLoa
new File( new URI( url.toString() ) )
Correction:
JRE 1.4 is happily returning invalid/unescaped URLs from
ClassLoader.getResource(), making the above suggestion fail with a
URISyntaxException.
The new suggestion is to use FileUtils.toFile(URL) [0] from Commons IO. A
similar methods exists
Hi,
6) URLs and Filesystem Paths
URLs and filesystem paths are really two different beasts and converting
between them is not trivial. The main source of problems is that different
encoding rules apply for the strings that make up a URL or filesystem path.
For example, consider the following
Hi,
5) Reading and Writing Text Files
Textual content is composed of characters while file systems merely store
byte streams. A file encoding (aka charset) is used to convert between bytes
and characters. The challenge is using the right file encoding...
The JVM has this notion of a default enc
Hi again,
4) Effective Output Directory for Report Plugins
Most reporting plugins will inherit from AbstractMavenReport. In doing so,
they need to implement the inherited but abstract method
getOutputDirectory(). To implement this method, plugins usually declare a
field named "outputDirectory" w
Greetings,
I remember another subtle issue which I would like to make people aware of.
3) Case-Insensitive String Comparison
When developers need to compare strings without regard to case or want to
realize a map with case-insensitive string keys, they often employ
String.toLowerCase() or Strin
That sounds like a great idea :)
- Brett
On 15/01/2008, at 12:35 AM, Timothy Reilly wrote:
Just an observation,
but would it not be a good idea to codify these heuristics in a plugin
and add them to the plugins pom.
For example, PMD or some other plugin might generate violations for
these.
Just an observation,
but would it not be a good idea to codify these heuristics in a plugin
and add them to the plugins pom.
For example, PMD or some other plugin might generate violations for
these.
-
To unsubscribe, e-mail:
+1 on that.
for embedded use in IDEs there's additional pitfalls.
1. use of System.getProperties()
2. java.lang.Runtime's shutdown hooks.
Milos
On Jan 13, 2008 10:21 AM, Benjamin Bentmann <[EMAIL PROTECTED]> wrote:
> Dear developers,
>
> After some months of reporting issues for Maven, I have n
12 matches
Mail list logo