You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Mario Ivankovits <im...@apache.org> on 2004/07/09 09:43:25 UTC

[vfs] fixed-version-dependency needet? (was: [GUMP@brutus]: commons-vfs/commons-vfs failed)

Hello!

Since today vfs fails to build in gump due to an api change in 
commons-httpclient. I dont know why this happens today as this change is 
11 month old and vfs itself uses this thing for a while.
If i adapt vfs to make it compatible with the api change i will break 
the slide-webdavclient library. So i have to stick on httpclient-2.0.

What to do next? Shall i ignore the error and wait until things settle 
together again - or should i add a "fixed-version-dependency" to vfs.

If i should add a "fixed-version-dependency":
*) do i really have to add the httpclient-jar to vfs's cvs and add a 
description file as described on 
http://wiki.apache.org/gump/FrequentlyAskedQuestions or is there any 
other method available now?
*) the "description" is an additional <project entry that should be 
added to gump.xml - right?
*) how should this line look
        <option project="commons-httpclient"/>
after adding the description: (from guml.xml in vfs)

Thanks!

Mario

>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 folk at general@gump.apache.org.
>
>Project commons-vfs has an issue affecting its community integration.
>This issue affects 6 projects.
>Project State : 'Failed', Reason 'Build Failed'
>The following are affected:
>    - antworks-importer-with-depot :  Autodownload and import ant build.xml's.
>    - depot-update :  Depot -- repository tools and more...
>    - depot-update-ant-sample-httpclient :  Depot -- repository tools and more...
>    - depot-update-ant-sample-jdk :  Depot -- repository tools and more...
>    - depot-update-ant-sample-vfs :  Depot -- repository tools and more...
>    - depot-update-test :  Depot -- repository tools and more...
>
>
>Full details are available at:
>
>    http://brutus.apache.org:8080/gump/commons-vfs/commons-vfs/index.html
>
>That said, some snippets follow:
>
>
>The following annotations were provided:
> -DEBUG- Sole jar [commons-vfs-20040708.jar] identifier set to project name
> -INFO- Failed with reason build failed
> -INFO- Enable "debug" output, due to build failure.
>
>
>The following work was performed:
>http://brutus.apache.org:8080/gump/commons-vfs/commons-vfs/gump_work/build_commons-vfs_commons-vfs.html
>Work Name: build_commons-vfs_commons-vfs (Type: Build)
>State: Failed
>Elapsed: 0 hours, 0 minutes, 4 seconds
>Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/usr/local/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dfinal.name=commons-vfs-20040708 -f build.xml dist 
>[Working Directory: /usr/local/gump/public/workspace/commons-vfs]
>CLASSPATH : /usr/local/j2sdk1.4.2_04/lib/tools.jar:/usr/local/gump/public/workspace/commons-vfs/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-stylebook.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-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/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20040708.jar:/usr/local/gump/public/workspace/jakarta-commons-sandbox/compress/target/commo
> ns-compress-0.1-dev.jar:/usr/local/gump/public/workspace/jakarta-commons/httpclient/dist/commons-httpclient.jar:/usr/local/gump/public/workspace/jakarta-commons/net/dist/commons-net-20040708.jar:/usr/local/gump/public/workspace/jakarta-slide/webdavclient/dist/lib/jakarta-slide-webdavlib-20040708.jar:/usr/local/gump/packages/jcifs/jcifs-0.8.1.jar:/usr/local/gump/packages/jsch-0.1.14/dist/lib/jsch-gump.jar---------------------------------------------
>Buildfile: build.xml
>
>init:
>    [mkdir] Created dir: /usr/local/gump/public/workspace/commons-vfs/target/lib
>
>get-deps:
>
>compile:
>    [mkdir] Created dir: /usr/local/gump/public/workspace/commons-vfs/target/classes
>    [javac] Compiling 150 source files to /usr/local/gump/public/workspace/commons-vfs/target/classes
>    [javac] /usr/local/gump/public/workspace/commons-vfs/src/java/org/apache/commons/vfs/provider/http/HttpClientFactory.java:67: warning: setCredentials(java.lang.String,java.lang.String,org.apache.commons.httpclient.Credentials) in org.apache.commons.httpclient.HttpState has been deprecated
>    [javac]                 client.getState().setCredentials(null, hostname, creds);
>    [javac]                                ^
>    [javac] /usr/local/gump/public/workspace/commons-vfs/src/java/org/apache/commons/vfs/provider/http/HttpFileContentInfoFactory.java:48: warning: getValues() in org.apache.commons.httpclient.Header has been deprecated
>    [javac]                 element = header.getValues();
>    [javac]                                 ^
>    [javac] /usr/local/gump/public/workspace/commons-vfs/src/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java:266: cannot resolve symbol
>    [javac] symbol  : method getReasonCode ()
>    [javac] location: class org.apache.commons.httpclient.HttpException
>    [javac]             if (e.getReasonCode() == HttpStatus.SC_MOVED_PERMANENTLY || e.getReasonCode() == HttpStatus.SC_MOVED_TEMPORARILY)
>    [javac]                  ^
>    [javac] /usr/local/gump/public/workspace/commons-vfs/src/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java:266: cannot resolve symbol
>    [javac] symbol  : method getReasonCode ()
>    [javac] location: class org.apache.commons.httpclient.HttpException
>    [javac]             if (e.getReasonCode() == HttpStatus.SC_MOVED_PERMANENTLY || e.getReasonCode() == HttpStatus.SC_MOVED_TEMPORARILY)
>    [javac]                                                                          ^
>    [javac] 2 errors
>    [javac] 2 warnings
>
>BUILD FAILED
>/usr/local/gump/public/workspace/commons-vfs/build.xml:68: Compile failed; see the compiler error output for details.
>
>Total time: 3 seconds
>---------------------------------------------
>
>
>
>
>To subscribe to this information via syndicated feeds:
> RSS: http://brutus.apache.org:8080/gump/commons-vfs/commons-vfs/rss.xml
> Atom: http://brutus.apache.org:8080/gump/commons-vfs/commons-vfs/atom.xml
>
>
>--
>Produced by Gump 2.0.3-alpha-0002.
>[Run (20040708 09:00:06, brutus:brutus-public:20040708 09:00:06)]
>http://brutus.apache.org:8080/gump/index.html
>http://brutus.apache.org:8080/gump/options.html
>
>--
>Apache Gump
>http://gump.apache.org/ [Instance: brutus]
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>  
>
-- 

Mario



---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [vfs] fixed-version-dependency needet?

Posted by Mario Ivankovits <im...@apache.org>.
Stefan Bodewig wrote:

>>If i adapt vfs to make it compatible with the api change i will
>>break the slide-webdavclient library. So i have to stick on
>>httpclient-2.0.
>>    
>>
>There is a Gump project for the 2.0 branch of httpclient[1] because of
>the amount of backwards incompatible changes in httpclient.  Maybe
>simply making your Gump descriptor point to that will be enough?
>
>[1]  name="commons-httpclient-2.0-branch"
>  
>
Thanks, looks like it worked.

But i cant reach gump [1][2] to check this

1 http://brutus.apache.org:8080/gump/commons-vfs/commons-vfs/index.html
2 http://gump.covalent.net/log/


--
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [vfs] fixed-version-dependency needet?

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 09 Jul 2004, Mario Ivankovits <im...@apache.org> wrote:

> If i adapt vfs to make it compatible with the api change i will
> break the slide-webdavclient library. So i have to stick on
> httpclient-2.0.

There is a Gump project for the 2.0 branch of httpclient[1] because of
the amount of backwards incompatible changes in httpclient.  Maybe
simply making your Gump descriptor point to that will be enough?

The real solution would be to adapt slide-webdavclient together with
vfs or to get the httpclient developers to care more about backwards
compatibility.

Stefan

Footnotes: 
[1]  name="commons-httpclient-2.0-branch"


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org