Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2526 - in development/main/depot: console/etc/bin console/src/main/net/dpml/depot/console console/src/main/net/dpml/depot/logging console/src/main/net/dpml/depot/logging/nodes content/src/main/net/dpml/depot/content station station/src/main/net/dpml/depot/prefs

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT dpml.net
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2526 - in development/main/depot: console/etc/bin console/src/main/net/dpml/depot/console console/src/main/net/dpml/depot/logging console/src/main/net/dpml/depot/logging/nodes content/src/main/net/dpml/depot/content station station/src/main/net/dpml/depot/prefs
  • Date: Thu, 12 May 2005 13:11:57 +0000

Author: mcconnell AT dpml.net
Date: Thu May 12 13:11:55 2005
New Revision: 2526

Added:
development/main/depot/console/src/main/net/dpml/depot/console/package.html

development/main/depot/console/src/main/net/dpml/depot/logging/nodes/package.html
development/main/depot/console/src/main/net/dpml/depot/logging/package.html
development/main/depot/content/src/main/net/dpml/depot/content/package.html

development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerMainPanel.java
- copied, changed from r2514,
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerPanel.java

development/main/depot/station/src/main/net/dpml/depot/prefs/DepotDialog.java
- copied, changed from r2517,
development/main/depot/station/src/main/net/dpml/depot/prefs/TransitDialog.java

development/main/depot/station/src/main/net/dpml/depot/prefs/TransitPanel.java
- copied, changed from r2514,
development/main/depot/station/src/main/net/dpml/depot/prefs/ResourcePanel.java
Removed:

development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerPanel.java

development/main/depot/station/src/main/net/dpml/depot/prefs/ResourcePanel.java

development/main/depot/station/src/main/net/dpml/depot/prefs/TransitDialog.java
Modified:
development/main/depot/console/etc/bin/depot.bat
development/main/depot/station/build.xml
development/main/depot/station/src/main/net/dpml/depot/prefs/Main.java
development/main/depot/station/src/main/net/dpml/depot/prefs/package.html
Log:
housekeeping

Modified: development/main/depot/console/etc/bin/depot.bat
==============================================================================
--- development/main/depot/console/etc/bin/depot.bat (original)
+++ development/main/depot/console/etc/bin/depot.bat Thu May 12 13:11:55
2005
@@ -26,7 +26,7 @@
set $ARGS=%*

:RUN_DEPOT
-%JAVA% -Djava.system.class.loader=net.dpml.depot.console.DepotClassLoader
-Djava.util.logging.config.class=net.dpml.depot.logging.ConfigurationHandler
%$POLICY% %CLASSLOADER% %DEPOT_JVM_OPTS% -classpath %$CLASSPATH%
net.dpml.depot.console.Main %DEPOT_ARGS% %$ARGS%
+%JAVA% -Djava.system.class.loader=net.dpml.depot.console.DepotClassLoader
%$POLICY% %CLASSLOADER% %DEPOT_JVM_OPTS% -classpath %$CLASSPATH%
net.dpml.depot.console.Main %DEPOT_ARGS% %$ARGS%
goto EndOfScript
:EndOfScript


Added:
development/main/depot/console/src/main/net/dpml/depot/console/package.html
==============================================================================
--- (empty file)
+++
development/main/depot/console/src/main/net/dpml/depot/console/package.html
Thu May 12 13:11:55 2005
@@ -0,0 +1,7 @@
+
+<body>
+<p>
+A application startup utility the leverages preferences as the source for
the definition of classloader content, system properties, and main class.
+</p>
+</body>
+

Added:
development/main/depot/console/src/main/net/dpml/depot/logging/nodes/package.html
==============================================================================
--- (empty file)
+++
development/main/depot/console/src/main/net/dpml/depot/logging/nodes/package.html
Thu May 12 13:11:55 2005
@@ -0,0 +1,7 @@
+
+<body>
+<p>
+Utility package marking the root of the preferences tree for logging
category preferences.
+</p>
+</body>
+

Added:
development/main/depot/console/src/main/net/dpml/depot/logging/package.html
==============================================================================
--- (empty file)
+++
development/main/depot/console/src/main/net/dpml/depot/logging/package.html
Thu May 12 13:11:55 2005
@@ -0,0 +1,7 @@
+
+<body>
+<p>
+Logging configuration utilities that establish and maintains default
configuration information using java.util.prefs.Preferences based information.
+</p>
+</body>
+

Added:
development/main/depot/content/src/main/net/dpml/depot/content/package.html
==============================================================================
--- (empty file)
+++
development/main/depot/content/src/main/net/dpml/depot/content/package.html
Thu May 12 13:11:55 2005
@@ -0,0 +1,7 @@
+
+<body>
+<p>
+A Transit sub-system plugin that is reponsible for the loading of content
handler plugins and caching of plugin classloaders.
+</p>
+</body>
+

Modified: development/main/depot/station/build.xml
==============================================================================
--- development/main/depot/station/build.xml (original)
+++ development/main/depot/station/build.xml Thu May 12 13:11:55 2005
@@ -7,7 +7,7 @@
<transit:import uri="artifact:template:dpml/magic/standard"/>

<target name="package" depends="standard.package">
- <x:export class="net.dpml.depot.station.TransitDialog"/>
+ <x:export class="net.dpml.depot.station.DepotDialog"/>
</target>

</project>

Copied:
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerMainPanel.java
(from r2514,
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerPanel.java)
==============================================================================
---
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerPanel.java
(original)
+++
development/main/depot/station/src/main/net/dpml/depot/prefs/ContentHandlerMainPanel.java
Thu May 12 13:11:55 2005
@@ -66,7 +66,7 @@
*
* @author <a href="mailto:mcconnell AT osm.net";>OSM</a>
*/
-public class ContentHandlerPanel extends JPanel implements
ListSelectionListener
+public class ContentHandlerMainPanel extends JPanel implements
ListSelectionListener
{
//--------------------------------------------------------------
// static
@@ -91,7 +91,7 @@
// constructor
//--------------------------------------------------------------

- public ContentHandlerPanel( JDialog parent ) throws Exception
+ public ContentHandlerMainPanel( JDialog parent ) throws Exception
{
m_parent = parent;

@@ -102,14 +102,14 @@
setBorder( new EmptyBorder( 10, 6, 10, 6 ) );
setBackground( Color.white );

- JPanel contentHandlerPanel = new JPanel();
- contentHandlerPanel.setBackground( Color.white );
+ JPanel ContentHandlerMainPanel = new JPanel();
+ ContentHandlerMainPanel.setBackground( Color.white );

- contentHandlerPanel.setLayout( new BorderLayout() );
+ ContentHandlerMainPanel.setLayout( new BorderLayout() );
TitledBorder tb =
new TitledBorder(
new EmptyBorder( 0,0,0,0 ), "Content Handlers",
TitledBorder.LEFT, TitledBorder.TOP );
- contentHandlerPanel.setBorder( new CompoundBorder( tb, border5 ) );
+ ContentHandlerMainPanel.setBorder( new CompoundBorder( tb, border5 )
);

Preferences prefs = Preferences.userNodeForPackage(
ContentHandlerRegistry.class );
TableColumnModel columns = createContentHandlerColumnModel();
@@ -120,7 +120,7 @@
m_table.getSelectionModel().addListSelectionListener( this );

JScrollPane scroller = createScrollPanel( m_table );
- contentHandlerPanel.add( scroller, BorderLayout.CENTER );
+ ContentHandlerMainPanel.add( scroller, BorderLayout.CENTER );
JPanel buttonHolder = new JPanel();
buttonHolder.setLayout( new FlowLayout( FlowLayout.RIGHT ) );
buttonHolder.add( new JButton( new AddAction( "Add" ) ) );
@@ -128,12 +128,12 @@
buttonHolder.add( m_delete );
buttonHolder.setBorder( new EmptyBorder( 10, 10, 5, 0 ) );
buttonHolder.setBackground( Color.white );
- contentHandlerPanel.add( buttonHolder, BorderLayout.SOUTH );
+ ContentHandlerMainPanel.add( buttonHolder, BorderLayout.SOUTH );

JPanel controllerPanel = createContentHandlerControllerPanel( parent
);

add( controllerPanel, BorderLayout.NORTH );
- add( contentHandlerPanel, BorderLayout.CENTER );
+ add( ContentHandlerMainPanel, BorderLayout.CENTER );
}

//--------------------------------------------------------------
@@ -144,7 +144,7 @@
{
JLabel label =
IconHelper.createImageIconJLabel(
- ResourcePanel.class.getClassLoader(),
+ getClass().getClassLoader(),
"net/dpml/transit/images/misc.png",
"Artifact",
"Content Handler Controller settings." );
@@ -208,7 +208,7 @@
final String error =
"Unexpected error while attempting to handle the
'Controller' action. "
+ "\nCODEBASE: "
- +
ResourcePanel.class.getProtectionDomain().getCodeSource().getLocation().toString();
+ +
getClass().getProtectionDomain().getCodeSource().getLocation().toString();
String message = ExceptionHelper.packException( error, e,
true );
System.err.println( message );
}
@@ -300,7 +300,7 @@
final String error =
"Unexpected error while attempting to construct host
dialog."
+ "\nCODEBASE: "
- +
ResourcePanel.class.getProtectionDomain().getCodeSource().getLocation().toString();
+ +
getClass().getProtectionDomain().getCodeSource().getLocation().toString();
String message = ExceptionHelper.packException( error, e,
true );
System.out.println( message );
}
@@ -336,7 +336,7 @@
final String error =
"Unexpected error while attempting to construct host
dialog."
+ "\nCODEBASE: "
- +
ResourcePanel.class.getProtectionDomain().getCodeSource().getLocation().toString();
+ +
getClass().getProtectionDomain().getCodeSource().getLocation().toString();
String message = ExceptionHelper.packException( error, e,
true );
System.out.println( message );
}
@@ -370,7 +370,7 @@
final String error =
"Unexpected error while attempting to delete a host
preferences node."
+ "\nCODEBASE: "
- +
ResourcePanel.class.getProtectionDomain().getCodeSource().getLocation().toString();
+ +
getClass().getProtectionDomain().getCodeSource().getLocation().toString();
String message = ExceptionHelper.packException( error, e,
true );
System.out.println( message );
}

Copied:
development/main/depot/station/src/main/net/dpml/depot/prefs/DepotDialog.java
(from r2517,
development/main/depot/station/src/main/net/dpml/depot/prefs/TransitDialog.java)
==============================================================================
---
development/main/depot/station/src/main/net/dpml/depot/prefs/TransitDialog.java
(original)
+++
development/main/depot/station/src/main/net/dpml/depot/prefs/DepotDialog.java
Thu May 12 13:11:55 2005
@@ -63,7 +63,7 @@

/**
*/
-public class TransitDialog extends JDialog
+public class DepotDialog extends JDialog
{
/**
* The DPML icon.
@@ -97,7 +97,7 @@

private List m_listeners = new LinkedList();

- public TransitDialog() throws Exception
+ public DepotDialog() throws Exception
{
super();

@@ -122,12 +122,12 @@

JPanel panel = new JPanel();

- ResourcePanel transitPanel = new ResourcePanel( this );
- ContentHandlerPanel contentPanel = new ContentHandlerPanel( this );
- tabbedPane.addTab( "Resources", transitPanel );
+ TransitPanel transitPanel = new TransitPanel( this );
+ ContentHandlerMainPanel contentPanel = new ContentHandlerMainPanel(
this );
+ tabbedPane.addTab( "Transit", transitPanel );
tabbedPane.addTab( "Content", contentPanel );
tabbedPane.addTab( "Logging", new JPanel() );
- tabbedPane.addTab( "Properties", new JPanel() );
+ tabbedPane.addTab( "Profiles", new JPanel() );

//
// add the Close button
@@ -258,7 +258,7 @@
{
try
{
- new TransitDialog();
+ new DepotDialog();
}
catch( Exception e )
{

Modified:
development/main/depot/station/src/main/net/dpml/depot/prefs/Main.java
==============================================================================
--- development/main/depot/station/src/main/net/dpml/depot/prefs/Main.java
(original)
+++ development/main/depot/station/src/main/net/dpml/depot/prefs/Main.java
Thu May 12 13:11:55 2005
@@ -96,7 +96,7 @@
{
try
{
- new TransitDialog();
+ new DepotDialog();
}
catch( Exception e )
{

Copied:
development/main/depot/station/src/main/net/dpml/depot/prefs/TransitPanel.java
(from r2514,
development/main/depot/station/src/main/net/dpml/depot/prefs/ResourcePanel.java)
==============================================================================
---
development/main/depot/station/src/main/net/dpml/depot/prefs/ResourcePanel.java
(original)
+++
development/main/depot/station/src/main/net/dpml/depot/prefs/TransitPanel.java
Thu May 12 13:11:55 2005
@@ -68,7 +68,7 @@
*
* @author <a href="mailto:mcconnell AT osm.net";>OSM</a>
*/
-public class ResourcePanel extends JPanel implements ListSelectionListener
+public class TransitPanel extends JPanel implements ListSelectionListener
{
//--------------------------------------------------------------
// static
@@ -93,7 +93,7 @@
// constructor
//--------------------------------------------------------------

- public ResourcePanel( JDialog parent ) throws Exception
+ public TransitPanel( JDialog parent ) throws Exception
{
m_parent = parent;

@@ -142,7 +142,7 @@
{
JLabel label =
IconHelper.createImageIconJLabel(
- ResourcePanel.class.getClassLoader(),
+ TransitPanel.class.getClassLoader(),
"net/dpml/transit/images/cache.jpg",
"Properties",
"Cache handler properties and settings." );
@@ -205,7 +205,7 @@
final String error =
"Unexpected error while attempting to handle the 'Cache'
action. "
+ "\nCODEBASE: "
- +
ResourcePanel.class.getProtectionDomain().getCodeSource().getLocation().toString();
+ +
TransitPanel.class.getProtectionDomain().getCodeSource().getLocation().toString();
String message = ExceptionHelper.packException( error, e,
true );
System.err.println( message );
}
@@ -313,7 +313,7 @@
final String error =
"Unexpected error while attempting to construct host
dialog."
+ "\nCODEBASE: "
- +
ResourcePanel.class.getProtectionDomain().getCodeSource().getLocation().toString();
+ +
TransitPanel.class.getProtectionDomain().getCodeSource().getLocation().toString();
String message = ExceptionHelper.packException( error, e,
true );
System.out.println( message );
}
@@ -347,7 +347,7 @@
final String error =
"Unexpected error while attempting to construct host
dialog."
+ "\nCODEBASE: "
- +
ResourcePanel.class.getProtectionDomain().getCodeSource().getLocation().toString();
+ +
TransitPanel.class.getProtectionDomain().getCodeSource().getLocation().toString();
String message = ExceptionHelper.packException( error, e,
true );
System.out.println( message );
}
@@ -379,7 +379,7 @@
final String error =
"Unexpected error while attempting to delete a host
preferences node."
+ "\nCODEBASE: "
- +
ResourcePanel.class.getProtectionDomain().getCodeSource().getLocation().toString();
+ +
TransitPanel.class.getProtectionDomain().getCodeSource().getLocation().toString();
String message = ExceptionHelper.packException( error, e,
true );
System.out.println( message );
}

Modified:
development/main/depot/station/src/main/net/dpml/depot/prefs/package.html
==============================================================================
--- development/main/depot/station/src/main/net/dpml/depot/prefs/package.html
(original)
+++ development/main/depot/station/src/main/net/dpml/depot/prefs/package.html
Thu May 12 13:11:55 2005
@@ -2,7 +2,8 @@
<body>
<p>
The prefs package contains a set of classes dealing with interactive
-management of Transit cache and host preferences.
+management of Transit cache and host preferences, logging configuration
data, and
+application profiles.
</p>
</body>




  • svn commit: r2526 - in development/main/depot: console/etc/bin console/src/main/net/dpml/depot/console console/src/main/net/dpml/depot/logging console/src/main/net/dpml/depot/logging/nodes content/src/main/net/dpml/depot/content station station/src/main/net/dpml/depot/prefs, mcconnell, 05/12/2005

Archive powered by MHonArc 2.6.24.

Top of Page