directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <p...@steitz.com>
Subject Re: [GUMP@brutus]: Project maven-directory-plugin (in module apacheds) failed
Date Sat, 12 Feb 2005 05:39:37 GMT
Brett Porter wrote:
> This has been broken a while. I haven't been able to figure out how to 
> get it to use velocity-dep (which includes all its dependencies, like 
> the necessary commons-collections JARs), instead of velocity proper.

I don't think the required classes are in velocity-dep?  If that is the 
dep jar that the ant dist goal builds from current source, all it 
includes from collections is the ExtendedProperties classes.  From 
Velocity's build.xml:

<!-- ================================================================ -
<!--   Gets the classes we need from Jakarta Commons collections      -
<!-- ================================================================ -
<target name="collections-support">

<unzip src="${collections.jar}" dest="${build.dest}" />

  <!--  we only want one file right now, the ExtendedProperties -->
  <!--  keep jars svelte...                                     -->

  <delete>
    <fileset dir="${build.dest}">
       <include name="org/apache/commons/collections/*.class" />
       <exclude
name="org/apache/commons/collections/ExtendedProperties*.class" />
        </fileset>
     </delete>

   </target>

When I run ant dist against current velocity sources, I only end up with 
two collections classes in the deps jar.

To get this, or anything that uses the velocity resource cache (whatever 
that is) to work, it seems to me that you need a real collections jar in 
the classpath somewhere.

Phil
> - Brett
> 
> Phil Steitz wrote:
> 
>> Alex Karasulu wrote:
>>
>>> Hello,
>>>
>>> Anybody know why this would fail when everything works fine when 
>>> checked out.  It looks like velocity is blowing chunks looking for a 
>>> commons-collections LRUMap class.  However we use the velocity-dep 
>>> jar which has all the dependencies bundled with it.
>>
>>
>>
>> When I build that jar from source, it does not include the LRUMap 
>> class.  To "keep jars svelte..." (delightful comment in velocity 
>> build.xml), after exploding and building against a vintage 2001 
>> collections.jar, (pulled from a lib directory) the Velocity build 
>> throws out all but two collections classes before jarring the deps jar.
>>
>> When this was working before, some intact version of commons 
>> collections must have been in the classpath. It does not look like it 
>> is now, though I am not the best gump detective.
>>
>> Strangely, the collections nightly builds seem to be failing now, but 
>> the gump build was successful and a clean build from source works fine 
>> and includes the (deprecated, since 3.0) LRUMap class.
>>
>> I see the velocity-tests gump run also failed; but the tests run fine 
>> built from source.
>>
>> I will look at this some more tomorrow.  Last night was the first 
>> failure, right?
>>
>> Phil
>>
>>   So it should have
>>
>>> LRUMap.  Perhaps something on Brutus does not have the right jar.
>>>
>>> Any ideas?
>>>
>>> Thanks,
>>> Alex
>>>
>>>
>>> ApacheDS Plugin development wrote:
>>>
>>>> To whom it may engage...
>>>>        This is an automated request, but not an unsolicited one. For 
>>>> more information please visit http://gump.apache.org/nagged.html, 
>>>> and/or contact the folk at general@gump.apache.org.
>>>>
>>>> Project maven-directory-plugin has an issue affecting its community 
>>>> integration.
>>>> This issue affects 4 projects.
>>>> The current state of this project is 'Failed', with reason 'Build 
>>>> Failed'.
>>>> For reference only, the following projects are affected by this:
>>>>    - apacheds-core :  Apache Directory Server
>>>>    - apacheds-main :  Apache Directory Server
>>>>    - kerberos :  Apache Kerberos Server
>>>>    - maven-directory-plugin :  Apache Directory Server
>>>>
>>>>
>>>> Full details are available at:
>>>>    
>>>> http://brutus.apache.org/gump/public/apacheds/maven-directory-plugin/index.html

>>>>
>>>>
>>>> That said, some information snippets are provided here.
>>>>
>>>> The following annotations (debug/informational/warning/error 
>>>> messages) were provided:
>>>> -DEBUG- Sole output [maven-directory-plugin-11022005.jar] identifier 
>>>> set to project name
>>>> -DEBUG- Dependency on jakarta-velocity exists, no need to add for 
>>>> property maven.jar.velocity-dep.
>>>> -DEBUG- (Gump generated) Maven Properties in: 
>>>> /usr/local/gump/public/workspace/apacheds/plugin/build.properties
>>>> -INFO- Failed with reason build failed
>>>> -DEBUG- Maven POM in: 
>>>> /usr/local/gump/public/workspace/apacheds/plugin/project.xml
>>>> -DEBUG- Maven project properties in: 
>>>> /usr/local/gump/public/workspace/apacheds/plugin/project.properties
>>>> -INFO- Project Reports in: 
>>>> /usr/local/gump/public/workspace/apacheds/plugin/target/test-reports
>>>> -INFO- Failed to extract fallback artifacts from Gump Repository
>>>>
>>>>
>>>>
>>>> The following work was performed:
>>>> http://brutus.apache.org/gump/public/apacheds/maven-directory-plugin/gump_work/build_apacheds_maven-directory-plugin.html

>>>>
>>>> Work Name: build_apacheds_maven-directory-plugin (Type: Build)
>>>> Work ended in a state of : Failed
>>>> Elapsed: 9 secs
>>>> Command Line: maven --offline jar [Working Directory: 
>>>> /usr/local/gump/public/workspace/apacheds/plugin]
>>>> CLASSPATH: 
>>>> /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/antlr-2.7.3/antlr.jar:/usr/local/gump/public/workspace/apacheds/shared/target/apacheds-shared-11022005.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-11022005.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/ant/bootstrap/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/bootstrap/lib/ant.jar:/usr/local/g
um 
>>>>
>>>
>>>
>> p/public/workspace/directory-ldap-parent/common/target/ldap-common-11022005.jar 
>>
>>
>>>>
>>>> ---------------------------------------------
>>>>
>>>> antlr:generate:
>>>>
>>>>    [echo] Compiling to 
>>>> /home/gump/workspaces2/public/workspace/apacheds/plugin/target/classes
>>>>    [echo] ==========================================================
>>>>
>>>>  NOTE: Targetting JVM 1.4, classes
>>>>  will not run on earlier JVMs
>>>>
>>>> ==========================================================
>>>>             [javac] Compiling 11 source files to 
>>>> /home/gump/workspaces2/public/workspace/apacheds/plugin/target/classes
>>>>
>>>> java:jar-resources:
>>>> Copying 4 files to 
>>>> /home/gump/workspaces2/public/workspace/apacheds/plugin/target/classes
>>>> Copying 4 files to 
>>>> /home/gump/workspaces2/public/workspace/apacheds/plugin/target/classes
>>>>
>>>> test:prepare-filesystem:
>>>>    [mkdir] Created dir: 
>>>> /home/gump/workspaces2/public/workspace/apacheds/plugin/target/test-classes

>>>>
>>>>    [mkdir] Created dir: 
>>>> /home/gump/workspaces2/public/workspace/apacheds/plugin/target/test-reports

>>>>
>>>>
>>>> test:test-resources:
>>>> Copying 8 files to 
>>>> /home/gump/workspaces2/public/workspace/apacheds/plugin/target/test-classes/org/apache/ldap/server/tools/schema

>>>>
>>>>
>>>> test:compile:
>>>>    [javac] Compiling 6 source files to 
>>>> /home/gump/workspaces2/public/workspace/apacheds/plugin/target/test-classes

>>>>
>>>>
>>>> test:test:
>>>>    [junit] Running 
>>>> org.apache.ldap.server.tools.schema.DirectorySchemaToolTest
>>>>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.193 
>>>> sec
>>>>    [junit] [ERROR] TEST 
>>>> org.apache.ldap.server.tools.schema.DirectorySchemaToolTest FAILED
>>>>    [junit] Running 
>>>> org.apache.ldap.server.tools.schema.OpenLdapSchemaParserTest
>>>>    [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 
>>>> 0.494 sec
>>>>    [junit] Running 
>>>> org.apache.ldap.server.tools.schema.ObjectClassesTemplateTest
>>>>    [junit] Tests run: 7, Failures: 0, Errors: 7, Time elapsed: 0.623 
>>>> sec
>>>>    [junit] [ERROR] TEST 
>>>> org.apache.ldap.server.tools.schema.ObjectClassesTemplateTest FAILED
>>>>    [junit] Running 
>>>> org.apache.ldap.server.tools.schema.AttributeTypesTemplateTest
>>>>    [junit] Tests run: 7, Failures: 0, Errors: 7, Time elapsed: 0.626 
>>>> sec
>>>>    [junit] [ERROR] TEST 
>>>> org.apache.ldap.server.tools.schema.AttributeTypesTemplateTest FAILED
>>>>
>>>> BUILD FAILED
>>>> File...... /home/gump/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly
>>>> Element... fail
>>>> Line...... 181
>>>> Column.... 54
>>>> There were test failures.
>>>> Total time: 9 seconds
>>>> Finished at: Fri Feb 11 19:56:16 PST 2005
>>>>
>>>> ---------------------------------------------
>>>>
>>>> To subscribe to this information via syndicated feeds:
>>>> - RSS: 
>>>> http://brutus.apache.org/gump/public/apacheds/maven-directory-plugin/rss.xml

>>>>
>>>> - Atom: 
>>>> http://brutus.apache.org/gump/public/apacheds/maven-directory-plugin/atom.xml

>>>>
>>>>
>>>> ============================== Gump Tracking Only ===
>>>> Produced by Gump version 2.2.
>>>> Gump Run 23001811022005, brutus:brutus-public:23001811022005
>>>> Gump E-mail Identifier (unique within run) #4.
>>>>
>>>> -- 
>>>> Apache Gump
>>>> http://gump.apache.org/ [Instance: brutus]
>>>>
>>>>  
>>>>
>>>
>>>
>>
>>
> 
> 


Mime
View raw message