Libmanagement issues
by Dmitry Geraskov
Hi, guys,
I find the solution which Dali uses for libmanagement on project
creation step.
They have composite which allows to user to add libraries when he create
project.
The libraries could be managed by eclipse's preferences, or could be
downloaded from the internet.
This is standard feature for faceted projects.
(see
org.eclipse.jst.common.project.facet.core.libprov.LibraryInstallDelegate,
org.eclipse.jst.common.project.facet.ui.libprov.LibraryProviderFrameworkUi)
---
If we want some *specific* libraries to be added (or we want to help to
user) we could do it like dtp helps with jdbc drivers when you creates
new ConnectionProfile.
Is this we are looking for libmanagement?
--
Best regards,
Dmitry Geraskov
dgeraskov(a)exadel.com
Senior Developer
Exadel Inc
15 years, 4 months
Stopping the JBIDEXYZTest madness
by Max Rydahl Andersen
Hi,
I would like to make a shout out to everybody to please stop naming test
methods and classes after jira issues.
If a test is related to an jira put it as part of the javadoc or something.
Trying to figure out what a test is actually supposed to do should not
require looking up a jira.
Having the jira id there is nice and I encourage you to have it in the
docs so if really needed
Name it based on what the test is about, i.e.
testCreateJSFProjectWithNonExistentFolder instead of testJBIDE1234
or if you *really* want it there call it
testCreateJSFProjectWithNonExistentFolder_JBIDE1234
I know I create a test once based on a jira id and I have regretted it
ever since because now its almost impossible
to understand what a test is about without having to go read the jira.
Plus, a jira seldomly can be tested with only one test method - should
be more than one to avoid gigantic nonmaintainable tests
Thanks!: )
/max
15 years, 4 months