You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Brian K. Wallace (JIRA)" <hi...@jakarta.apache.org> on 2005/02/01 06:40:17 UTC

[jira] Created: (HIVEMIND-88) Examples build.xml fails to set proper runtime.classpath

Examples build.xml fails to set proper runtime.classpath
--------------------------------------------------------

         Key: HIVEMIND-88
         URL: http://issues.apache.org/jira/browse/HIVEMIND-88
     Project: HiveMind
        Type: Bug
  Components: examples  
    Versions: 1.1    
 Environment: Windows XP, JDK 1.5, Ant 1.6.2, command line execution
    Reporter: Brian K. Wallace
    Priority: Minor
 Attachments: hivemind-examples-build.xml.patch.txt

After running 'ant' and/or 'ant install' at the top level with all dependencies resolved, all needed libraries are built. Changing directory into the 'examples' subdirectory and running 'ant run-calculator' produces a NoClassDefFoundError for org/apache/hivemind/ClassResolver.

Mofidying the runtime.classpath fixes the problem. Following is the patch output:

Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-hivemind/examples/build.xml,v
retrieving revision 1.11
diff -u -r1.11 build.xml
--- build.xml	16 Nov 2004 18:51:43 -0000	1.11
+++ build.xml	1 Feb 2005 05:21:06 -0000
@@ -35,8 +35,8 @@
   
   <path id="runtime.classpath">
     <fileset dir="${module.lib.dir}">
-      <include name="compile/*.jar"/>
-      <include name="run/*.jar"/>
+      <include name="compile/**/*.jar"/>
+      <include name="run/**/*.jar"/>
     </fileset>
     <pathelement location="${java.classes.dir}"/>
     <pathelement location="${conf.src.dir}"/>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Resolved: (HIVEMIND-88) Examples build.xml fails to set proper runtime.classpath

Posted by "Knut Wannheden (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-88?page=history ]
     
Knut Wannheden resolved HIVEMIND-88:
------------------------------------

     Resolution: Fixed
    Fix Version: 1.1

Committed patch to CVS.

> Examples build.xml fails to set proper runtime.classpath
> --------------------------------------------------------
>
>          Key: HIVEMIND-88
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-88
>      Project: HiveMind
>         Type: Bug
>   Components: examples
>     Versions: 1.1
>  Environment: Windows XP, JDK 1.5, Ant 1.6.2, command line execution
>     Reporter: Brian K. Wallace
>     Assignee: Knut Wannheden
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: hivemind-examples-build.xml.patch.txt
>
> After running 'ant' and/or 'ant install' at the top level with all dependencies resolved, all needed libraries are built. Changing directory into the 'examples' subdirectory and running 'ant run-calculator' produces a NoClassDefFoundError for org/apache/hivemind/ClassResolver.
> Mofidying the runtime.classpath fixes the problem. Following is the patch output:
> Index: build.xml
> ===================================================================
> RCS file: /home/cvspublic/jakarta-hivemind/examples/build.xml,v
> retrieving revision 1.11
> diff -u -r1.11 build.xml
> --- build.xml	16 Nov 2004 18:51:43 -0000	1.11
> +++ build.xml	1 Feb 2005 05:21:06 -0000
> @@ -35,8 +35,8 @@
>    
>    <path id="runtime.classpath">
>      <fileset dir="${module.lib.dir}">
> -      <include name="compile/*.jar"/>
> -      <include name="run/*.jar"/>
> +      <include name="compile/**/*.jar"/>
> +      <include name="run/**/*.jar"/>
>      </fileset>
>      <pathelement location="${java.classes.dir}"/>
>      <pathelement location="${conf.src.dir}"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Assigned: (HIVEMIND-88) Examples build.xml fails to set proper runtime.classpath

Posted by "Knut Wannheden (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-88?page=history ]

Knut Wannheden reassigned HIVEMIND-88:
--------------------------------------

    Assign To: Knut Wannheden

> Examples build.xml fails to set proper runtime.classpath
> --------------------------------------------------------
>
>          Key: HIVEMIND-88
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-88
>      Project: HiveMind
>         Type: Bug
>   Components: examples
>     Versions: 1.1
>  Environment: Windows XP, JDK 1.5, Ant 1.6.2, command line execution
>     Reporter: Brian K. Wallace
>     Assignee: Knut Wannheden
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: hivemind-examples-build.xml.patch.txt
>
> After running 'ant' and/or 'ant install' at the top level with all dependencies resolved, all needed libraries are built. Changing directory into the 'examples' subdirectory and running 'ant run-calculator' produces a NoClassDefFoundError for org/apache/hivemind/ClassResolver.
> Mofidying the runtime.classpath fixes the problem. Following is the patch output:
> Index: build.xml
> ===================================================================
> RCS file: /home/cvspublic/jakarta-hivemind/examples/build.xml,v
> retrieving revision 1.11
> diff -u -r1.11 build.xml
> --- build.xml	16 Nov 2004 18:51:43 -0000	1.11
> +++ build.xml	1 Feb 2005 05:21:06 -0000
> @@ -35,8 +35,8 @@
>    
>    <path id="runtime.classpath">
>      <fileset dir="${module.lib.dir}">
> -      <include name="compile/*.jar"/>
> -      <include name="run/*.jar"/>
> +      <include name="compile/**/*.jar"/>
> +      <include name="run/**/*.jar"/>
>      </fileset>
>      <pathelement location="${java.classes.dir}"/>
>      <pathelement location="${conf.src.dir}"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Updated: (HIVEMIND-88) Examples build.xml fails to set proper runtime.classpath

Posted by "Brian K. Wallace (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-88?page=history ]

Brian K. Wallace updated HIVEMIND-88:
-------------------------------------

    Attachment: hivemind-examples-build.xml.patch.txt

Very small change allows examples to run.

> Examples build.xml fails to set proper runtime.classpath
> --------------------------------------------------------
>
>          Key: HIVEMIND-88
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-88
>      Project: HiveMind
>         Type: Bug
>   Components: examples
>     Versions: 1.1
>  Environment: Windows XP, JDK 1.5, Ant 1.6.2, command line execution
>     Reporter: Brian K. Wallace
>     Priority: Minor
>  Attachments: hivemind-examples-build.xml.patch.txt
>
> After running 'ant' and/or 'ant install' at the top level with all dependencies resolved, all needed libraries are built. Changing directory into the 'examples' subdirectory and running 'ant run-calculator' produces a NoClassDefFoundError for org/apache/hivemind/ClassResolver.
> Mofidying the runtime.classpath fixes the problem. Following is the patch output:
> Index: build.xml
> ===================================================================
> RCS file: /home/cvspublic/jakarta-hivemind/examples/build.xml,v
> retrieving revision 1.11
> diff -u -r1.11 build.xml
> --- build.xml	16 Nov 2004 18:51:43 -0000	1.11
> +++ build.xml	1 Feb 2005 05:21:06 -0000
> @@ -35,8 +35,8 @@
>    
>    <path id="runtime.classpath">
>      <fileset dir="${module.lib.dir}">
> -      <include name="compile/*.jar"/>
> -      <include name="run/*.jar"/>
> +      <include name="compile/**/*.jar"/>
> +      <include name="run/**/*.jar"/>
>      </fileset>
>      <pathelement location="${java.classes.dir}"/>
>      <pathelement location="${conf.src.dir}"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org