Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2378 - in development/laboratory/ide/eclipse/magic: features plugin plugin/lib plugin/src/net/dpml/ide/eclipse/plugins/magic update

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: peter AT neubauer.se
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2378 - in development/laboratory/ide/eclipse/magic: features plugin plugin/lib plugin/src/net/dpml/ide/eclipse/plugins/magic update
  • Date: Sat, 23 Apr 2005 11:19:12 -0400

Author: peter AT neubauer.se
Date: Sat Apr 23 11:19:06 2005
New Revision: 2378

Added:

development/laboratory/ide/eclipse/magic/plugin/lib/dpml-transit-tools-SNAPSHOT.jar
(contents, props changed)
Removed:
development/laboratory/ide/eclipse/magic/plugin/lib/dpml-transit-tools.jar
Modified:
development/laboratory/ide/eclipse/magic/features/feature.xml
development/laboratory/ide/eclipse/magic/plugin/.classpath

development/laboratory/ide/eclipse/magic/plugin/lib/dpml-magic-core-SNAPSHOT.jar

development/laboratory/ide/eclipse/magic/plugin/lib/dpml-transit-main-SNAPSHOT.jar
development/laboratory/ide/eclipse/magic/plugin/plugin.xml

development/laboratory/ide/eclipse/magic/plugin/src/net/dpml/ide/eclipse/plugins/magic/IndexActionDelegate.java
development/laboratory/ide/eclipse/magic/update/site.xml
Log:
fied wrong triggering of prefs update


Modified: development/laboratory/ide/eclipse/magic/features/feature.xml
==============================================================================
--- development/laboratory/ide/eclipse/magic/features/feature.xml
(original)
+++ development/laboratory/ide/eclipse/magic/features/feature.xml Sat
Apr 23 11:19:06 2005
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="net.dpml.ide.eclipse.plugins.Magic"
- label="magic-eclipse-feature"
- version="0.1.91">
+ label="Magic Eclipse"
+ version="0.1.92">

<description url="http://www.dpml.net/magic-eclpse-integration";>
This enables eclipse to bild a java project using Magic index file as
the source for the creation of source folders and the mounting of dependency
jars as dynamic classpath entries.
</description>

<copyright url="http://www.dpml.net";>
- /*
+ /*
* Copyright 2005 Peter Neubauer
*
* Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
@@ -59,8 +59,8 @@

<plugin
id="net.dpml.ide.eclipse.plugins.Magic"
- download-size="0"
- install-size="0"
- version="0.1.91"/>
+ download-size="500Kb"
+ install-size="500Kb"
+ version="0.1.92"/>

</feature>

Modified: development/laboratory/ide/eclipse/magic/plugin/.classpath
==============================================================================
--- development/laboratory/ide/eclipse/magic/plugin/.classpath (original)
+++ development/laboratory/ide/eclipse/magic/plugin/.classpath Sat Apr 23
11:19:06 2005
@@ -1,15 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry exported="true" kind="lib"
path="lib/dpml-ide-common-magic-SNAPSHOT.jar"/>
- <classpathentry exported="true" kind="lib"
path="lib/dpml-magic-core-SNAPSHOT.jar"/>
- <classpathentry exported="true" kind="lib"
path="lib/dpml-transit-tools.jar"/>
- <classpathentry exported="true" kind="lib"
path="lib/junit-3.8.1.jar"/>
- <classpathentry exported="true" kind="lib"
path="lib/dpml-transit-main-SNAPSHOT.jar"/>
<classpathentry kind="src" path="src">
<attributes>
</attributes>
</classpathentry>
- <classpathentry kind="con"
path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry exported="true" kind="lib"
path="lib/dpml-ide-common-magic-SNAPSHOT.jar">
+ <attributes>
+ </attributes>
+ </classpathentry>
+ <classpathentry exported="true" kind="lib"
path="lib/dpml-magic-core-SNAPSHOT.jar">
+ <attributes>
+ </attributes>
+ </classpathentry>
+ <classpathentry exported="true" kind="lib"
path="lib/dpml-transit-tools.jar">
+ <attributes>
+ </attributes>
+ </classpathentry>
+ <classpathentry exported="true" kind="lib" path="lib/junit-3.8.1.jar">
+ <attributes>
+ </attributes>
+ </classpathentry>
+ <classpathentry exported="true" kind="lib"
path="lib/dpml-transit-main-SNAPSHOT.jar">
+ <attributes>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con"
path="org.eclipse.pde.core.requiredPlugins">
+ <attributes>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER">
+ <attributes>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="lib/dpml-transit-tools-SNAPSHOT.jar">
+ <attributes>
+ </attributes>
+ </classpathentry>
<classpathentry kind="output" path="bin"/>
</classpath>

Modified:
development/laboratory/ide/eclipse/magic/plugin/lib/dpml-magic-core-SNAPSHOT.jar
==============================================================================
Binary files. No diff available.

Modified:
development/laboratory/ide/eclipse/magic/plugin/lib/dpml-transit-main-SNAPSHOT.jar
==============================================================================
Binary files. No diff available.

Added:
development/laboratory/ide/eclipse/magic/plugin/lib/dpml-transit-tools-SNAPSHOT.jar
==============================================================================
Binary file. No diff available.

Modified: development/laboratory/ide/eclipse/magic/plugin/plugin.xml
==============================================================================
--- development/laboratory/ide/eclipse/magic/plugin/plugin.xml (original)
+++ development/laboratory/ide/eclipse/magic/plugin/plugin.xml Sat Apr 23
11:19:06 2005
@@ -3,7 +3,7 @@
<plugin
id="net.dpml.ide.eclipse.plugins.Magic"
name="Eclipse Magic Plug-in"
- version="0.1.91"
+ version="0.1.92"
provider-name="DPML"
class="net.dpml.ide.eclipse.plugins.magic.MagicPlugin">
<runtime>
@@ -16,15 +16,15 @@
<library name="lib/dpml-magic-core-SNAPSHOT.jar">
<export name="*"/>
</library>
- <library name="lib/dpml-transit-tools.jar">
- <export name="*"/>
- </library>
<library name="lib/junit-3.8.1.jar">
<export name="*"/>
</library>
<library name="lib/dpml-transit-main-SNAPSHOT.jar">
<export name="*"/>
</library>
+ <library name="lib/dpml-transit-tools-SNAPSHOT.jar">
+ <export name="*"/>
+ </library>
</runtime>

<requires>

Modified:
development/laboratory/ide/eclipse/magic/plugin/src/net/dpml/ide/eclipse/plugins/magic/IndexActionDelegate.java
==============================================================================
---
development/laboratory/ide/eclipse/magic/plugin/src/net/dpml/ide/eclipse/plugins/magic/IndexActionDelegate.java
(original)
+++
development/laboratory/ide/eclipse/magic/plugin/src/net/dpml/ide/eclipse/plugins/magic/IndexActionDelegate.java
Sat Apr 23 11:19:06 2005
@@ -72,9 +72,34 @@
public void run( IAction iAction )
{
getIndex();
+ storeNewIndex();
setProjetSources();
}

+ private void storeNewIndex()
+ {
+ proj = mIndexFile.getProject();
+
+ IScopeContext projectScope = new ProjectScope( proj );
+ IEclipsePreferences projectNode = projectScope
+ .getNode( "net.dpml.magic" );
+ if ( projectNode != null )
+ {
+ projectNode.put( "index.path",
mIndexFile.getProjectRelativePath()
+ .toPortableString() );
+ try
+ {
+ projectNode.flush();
+ }
+ catch ( BackingStoreException e )
+ {
+ log.log( new Status( Status.WARNING, "net.dpml.MagicPlugin",
0,
+ "Could not store new index" +
mIndexFile.getProjectRelativePath(), e ) );
+ }
+ }
+
+ }
+
private void getIndex()
{
try
@@ -100,25 +125,7 @@
}
StructuredSelection selection = (StructuredSelection) iSelection;
mIndexFile = (IFile) selection.getFirstElement();
- proj = mIndexFile.getProject();
-
- IScopeContext projectScope = new ProjectScope( proj );
- IEclipsePreferences projectNode = projectScope
- .getNode( "net.dpml.magic" );
- if ( projectNode != null )
- {
- projectNode.put( "index.path",
mIndexFile.getProjectRelativePath()
- .toPortableString() );
- try
- {
- projectNode.flush();
- }
- catch ( BackingStoreException e )
- {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
+

}


Modified: development/laboratory/ide/eclipse/magic/update/site.xml
==============================================================================
--- development/laboratory/ide/eclipse/magic/update/site.xml (original)
+++ development/laboratory/ide/eclipse/magic/update/site.xml Sat Apr 23
11:19:06 2005
@@ -1,11 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
- <feature url="features/net.dpml.ide.eclipse.plugins.Magic_0.1.91.jar"
id="net.dpml.ide.eclipse.plugins.Magic" version="0.1.91">
- <category name="Magic"/>
+ <feature url="features/net.dpml.ide.eclipse.plugins.Magic_0.1.92.jar"
id="net.dpml.ide.eclipse.plugins.Magic" version="0.1.92">
+ <category name="DPML"/>
</feature>
- <category-def name="Magic" label="DPML Magic Plugin">
- <description>
- The DPML Magic Eclipse plugin
- </description>
- </category-def>
+ <category-def name="DPML" label="DPML Eclipse Plugins"/>
</site>



  • svn commit: r2378 - in development/laboratory/ide/eclipse/magic: features plugin plugin/lib plugin/src/net/dpml/ide/eclipse/plugins/magic update, peter, 04/23/2005

Archive powered by MHonArc 2.6.24.

Top of Page