This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 52465 - src/conf directory should be suggested by default
Summary: src/conf directory should be suggested by default
Status: CLOSED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: DB schema (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
: 68063 (view as bug list)
Depends on: 52994
Blocks:
  Show dependency tree
 
Reported: 2004-12-15 10:19 UTC by Petr Blaha
Modified: 2006-03-24 13:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2004-12-15 10:19:24 UTC
[Build 20041214]
In first panel of 'New Schema' user can specify
folder where the schema will be created. This
value is empty by default, since all configuration
files should by in src/conf I suggest to use this
value by default.
Comment 1 Radko Najman 2005-02-18 13:07:54 UTC
Could somebody from J2EE team comment if the proposed solution is
correct? Thanks.

If any location is selected in the project window, this location is
automatically set to the wizard.
Comment 2 Martin Adamek 2005-02-18 15:07:36 UTC
See bug #52994 for more comments. src/conf should be OK, I guess.
Comment 3 Petr Blaha 2005-02-18 15:38:53 UTC
According the project convetions for Enterprise application
http://java.sun.com/blueprints/code/projectconventions.html the
src/conf is right place where dbschema shall be located.
Comment 4 Andrei Badea 2005-10-07 15:13:40 UTC
Note that src/conf may not make sense for a project created with existing
sources, whose configuration folder can be different from src/conf. But there's
no better choice, since we can't ask the project what the correct configuration
folder is.
Comment 5 Andrei Badea 2005-10-14 14:12:10 UTC
Fixed. The "src/conf" directory is the default, but only if it exists under the
project directory and only when the user invokes the schema wizard by
right-clicking on the project node. If the user invokes the wizard from another
object (e.g., a Java package), that object (e.g., the package directory) will
the default.

Checking in ../ide/golden/deps.txt;
/cvs/ide/golden/deps.txt,v  <--  deps.txt
new revision: 1.229; previous revision: 1.228
done
Checking in model/nbproject/project.xml;
/cvs/db/model/nbproject/project.xml,v  <--  project.xml
new revision: 1.11; previous revision: 1.10
done
Checking in
model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/DBSchemaWizardIterator.java;
/cvs/db/model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/DBSchemaWizardIterator.java,v
 <--  DBSchemaWizardIterator.java
new revision: 1.4; previous revision: 1.3
done
Comment 6 Andrei Badea 2005-10-14 16:11:07 UTC
Whoops, I didn't get the projectapi version right.

Checking in nbproject/project.xml;
/cvs/db/model/nbproject/project.xml,v  <--  project.xml
new revision: 1.12; previous revision: 1.11
done
Comment 7 Andrei Badea 2005-11-04 09:40:31 UTC
*** Issue 68063 has been marked as a duplicate of this issue. ***
Comment 8 Petr Blaha 2005-11-04 12:39:09 UTC
[build 20051103]