You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Janne Jalkanen <Ja...@ecyrd.com> on 2008/06/20 00:34:16 UTC

2.8 & 2.8.1

Folks,

I opened a new version in the issue tracker: 2.8.1.  Please push  
stuff you think we can live without in 2.8 to 2.8.1... I'm not sure  
whether we want to do everything that's still left for 2.8.  Now that  
it's all Apache-licensed, there isn't that much need to hold stuff  
back anymore.  Probably better to go into beta with what we have now  
(+whatever is mandatory), and then add bits on top of it.

And, as a part of the incubation process, we need to do at least one  
full "incubator" release to learn the ropes ;-)

/Janne

Re: 2.8 & 2.8.1

Posted by Janne Jalkanen <Ja...@ecyrd.com>.
> It stalls trying to start a browser - and you need a particular  
> browser for it to work.  For example, Firefox 3 does not work.   
> Firefox 2 should work though...

And, btw, you can choose your own browser by launching with

ant "-Dwebtests.browser=*safari" webtests

(Me?  I installed a clean copy of Ubuntu 7.10 into my Parallels box  
and am running the webtests in there... Just in case anyone else is  
doing the same thing, note that Jetty is kinda complicated to get  
running in it.  Just copy/symlink your tools.jar to your $JAVA_HOME/ 
jre/lib/ext and save some time.  For some reason running with Mac  
always seems to result in 404 errors.)

/Janne

Re: 2.8 & 2.8.1

Posted by Janne Jalkanen <Ja...@ecyrd.com>.
>      [echo] Running web unit tests for context 'test-custom'.
>
>
> and then it stalls..........

It stalls trying to start a browser - and you need a particular  
browser for it to work.  For example, Firefox 3 does not work.   
Firefox 2 should work though...

/Janne

Re: 2.8 & 2.8.1

Posted by Harry Metske <ha...@gmail.com>.
:-)

well, sure, but this is what I got today :

metskem@bismarck:~/workspace/JSPWiki$ export
PATH=/usr/local/firefox.30.b3:$PATH
metskem@bismarck:~/workspace/JSPWiki$ ant webtests
Buildfile: build.xml

mkpropertyfile:

init:

compile:

jar:

tests-init:
   [delete] Deleting:
/home/metskem/workspace/JSPWiki/tests/etc/userdatabase.xml
     [copy] Copying 1 file to /home/metskem/workspace/JSPWiki/tests/etc
   [delete] Deleting:
/home/metskem/workspace/JSPWiki/tests/etc/groupdatabase.xml
     [copy] Copying 1 file to /home/metskem/workspace/JSPWiki/tests/etc
     [copy] Copying 1 file to
/home/metskem/workspace/JSPWiki/tests/build/webtests
     [copy] Copying 1 file to
/home/metskem/workspace/JSPWiki/tests/build/webtests
     [copy] Copying 1 file to
/home/metskem/workspace/JSPWiki/tests/etc/WEB-INF

compiletests:

jartests:

db-properties:
     [echo] Getting JDBC runtime properties.
     [copy] Copying 3 files to
/home/metskem/workspace/JSPWiki/tests/etc/db/hsql

hsql-check-start:
     [echo] Checking to see if Hypersonic JDBC server is running already.

hsql-start:

hsql-init:

db-setup:
     [echo] Setting up the database tables.
      [sql] Executing resource:
/home/metskem/workspace/JSPWiki/tests/etc/db/hsql/userdb-setup.ddl
      [sql] 29 of 29 SQL statements executed successfully

tests-db-init:

installinit:
   [delete] Deleting directory /tmp/metskem/JSPWiki/svnsrc
    [mkdir] Created dir: /tmp/metskem/JSPWiki/svnsrc
   [delete] Deleting directory /home/metskem/workspace/JSPWiki/releases
    [mkdir] Created dir: /home/metskem/workspace/JSPWiki/releases

compressedjs:
     [java] Java Result: 1

war:
   [delete] Deleting: /tmp/metskem/JSPWiki/install/JSPWiki.war
      [war] Building war: /tmp/metskem/JSPWiki/install/JSPWiki.war
      [war] Updating war: /tmp/metskem/JSPWiki/install/JSPWiki.war

webtests:
[propertyfile] Updating property file:
/home/metskem/workspace/JSPWiki/tests/build/webtests/jspwiki.properties.tmpl
     [echo] ===============================================================
     [echo]  Setting up web unit tests for 'test-custom'
     [echo] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     [echo]
     [echo] Creating Selenium test scripts...
     [echo] Creating test page repositories...
     [echo] Creating test webapp...
     [copy] Copying 2 files to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-custom/webapp/WEB-INF
     [copy] Copying 1 file to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-custom/webapp/WEB-INF
     [copy] Copying 1 file to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-custom/webapp/WEB-INF
[propertyfile] Updating property file:
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-custom/webapp/WEB-INF/jspwiki.properties
     [echo] ===============================================================
     [echo]  Setting up web unit tests for 'test-custom-absolute'
     [echo] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     [echo]
     [echo] Creating Selenium test scripts...
     [echo] Creating test page repositories...
     [echo] Creating test webapp...
     [copy] Copying 2 files to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-custom-absolute/webapp/WEB-INF
     [copy] Copying 1 file to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-custom-absolute/webapp/WEB-INF
     [copy] Copying 1 file to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-custom-absolute/webapp/WEB-INF
[propertyfile] Updating property file:
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-custom-absolute/webapp/WEB-INF/jspwiki.properties
     [echo] ===============================================================
     [echo]  Setting up web unit tests for 'test-container'
     [echo] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     [echo]
     [echo] Creating Selenium test scripts...
     [echo] Creating test page repositories...
     [echo] Creating test webapp...
     [copy] Copying 2 files to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-container/webapp/WEB-INF
     [copy] Copying 1 file to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-container/webapp/WEB-INF
     [copy] Copying 1 file to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-container/webapp/WEB-INF
[propertyfile] Updating property file:
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-container/webapp/WEB-INF/jspwiki.properties
     [echo] ===============================================================
     [echo]  Setting up web unit tests for 'test-custom-jdbc'
     [echo] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     [echo]
     [echo] Creating Selenium test scripts...
     [echo] Creating test page repositories...
     [echo] Creating test webapp...
     [copy] Copying 2 files to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-custom-jdbc/webapp/WEB-INF
     [copy] Copying 1 file to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-custom-jdbc/webapp/WEB-INF
     [copy] Copying 1 file to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-custom-jdbc/webapp/WEB-INF
[propertyfile] Updating property file:
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-custom-jdbc/webapp/WEB-INF/jspwiki.properties
     [echo] ===============================================================
     [echo]  Setting up web unit tests for 'test-container-jdbc'
     [echo] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     [echo]
     [echo] Creating Selenium test scripts...
     [echo] Creating test page repositories...
     [echo] Creating test webapp...
     [copy] Copying 2 files to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-container-jdbc/webapp/WEB-INF
     [copy] Copying 1 file to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-container-jdbc/webapp/WEB-INF
     [copy] Copying 1 file to
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-container-jdbc/webapp/WEB-INF
[propertyfile] Updating property file:
/home/metskem/workspace/JSPWiki/tests/build/webtests/test-container-jdbc/webapp/WEB-INF/jspwiki.properties
     [echo] Shutting down Jetty (if it is up).
      [get] Getting: http://localhost:19041/
      [get] To: /tmp/webtests/shutdown.log
      [get] Error getting http://localhost:19041/ to
/tmp/webtests/shutdown.log
     [echo] Starting Jetty.
     [echo] Running web unit tests for context 'test-custom'.


and then it stalls..........

the ./tests/reports/selenium directory contains a file test-custom.html file
with length 0 bytes.
the /tmp/webtests directory also doesn't contain any files:

metskem@bismarck:/tmp/webtests/Jetty_localhost_10024__test-custom$ ls -al
total 8
drwxr-xr-x 2 metskem metskem 4096 2008-06-20 20:43 .
drwxr-xr-x 3 metskem metskem 4096 2008-06-20 20:43 ..


regards,
Harry

2008/6/20 Andrew Jaquith <an...@mac.com>:

> * Votes on releases should therefore be based on building the project
>>>  from source and testing it with success.
>>>
>>
> Aren't you all glad I've been working hard on fixing the web unit tests? ;)
>



-- 
met vriendelijke groet,
Harry Metske
Telnr. +31-548-512395
Mobile +31-6-51898081

Re: 2.8 & 2.8.1

Posted by Andrew Jaquith <an...@mac.com>.
>> * Votes on releases should therefore be based on building the project
>>  from source and testing it with success.

Aren't you all glad I've been working hard on fixing the web unit  
tests? ;)

Re: 2.8 & 2.8.1

Posted by Florian Holeczek <fl...@holeczek.de>.
> Though I would like to see some informal approval of the binaries as
> well, so that I don't screw things up when building ;-)

Sure, I think this is a good thing.

>> Another point: Janne, don't you have to do a monthly report on the
>> project status? On the Jackrabbit mailing list, da draft of it is
>> published before handling it in.

> It's every three months for incubator projects.  Our next one is due  
> in July.

> All the drafts are submitted to the svn repo, under jspwiki/board, so
> if you're subscribed to jspwiki-commits you get notifications.   
> Should they be circulated here too?

Ah, I didn't know there's a jspwiki-commits, too. Seems as if this is
a standard list in the Apache infrastructure.

Well, in the Jackrabbit project, a draft of the report is published on
the dev list some days before deadline. I think there are some
advantages doing so:
* prevention of erroneous formulations
* things aren't forgotten that easy
* the project consists of several members, each one should be involved

Even if there isn't any feedback, you can assume that the draft is
fine, because at least some have read it without complaining about it.

Regards,
 Florian

Re: 2.8 & 2.8.1

Posted by Janne Jalkanen <Ja...@ecyrd.com>.
> According to http://www.jspwiki.org/wiki/VersioningProposal this is
> fine. But don't forget about:
> "Forward and backward compatibility within the same major.minor
> revision is retained."

Yupyup.  Unfortunately, we don't completely stick to this rule -  
sometimes things do break between major.minor.

> * Votes on releases should therefore be based on building the project
>   from source and testing it with success.

This is interesting - this suggests that maybe I should just tweak my  
scripts in such a way it does not release binaries until such a time  
we're actually doing the final release...

Though I would like to see some informal approval of the binaries as  
well, so that I don't screw things up when building ;-)

> These are points that are quite important to the ASF, Roy Fielding
> himself had joined these discussions.

Very interesting, thanks!

> Another point: Janne, don't you have to do a monthly report on the
> project status? On the Jackrabbit mailing list, da draft of it is
> published before handling it in.

It's every three months for incubator projects.  Our next one is due  
in July.

All the drafts are submitted to the svn repo, under jspwiki/board, so  
if you're subscribed to jspwiki-commits you get notifications.   
Should they be circulated here too?

/Janne

Re: 2.8 & 2.8.1

Posted by Florian Holeczek <fl...@holeczek.de>.
Hi all,

> I opened a new version in the issue tracker: 2.8.1.  Please push
> stuff you think we can live without in 2.8 to 2.8.1... I'm not sure  
> whether we want to do everything that's still left for 2.8.  Now that
> it's all Apache-licensed, there isn't that much need to hold stuff  
> back anymore.  Probably better to go into beta with what we have now  
> (+whatever is mandatory), and then add bits on top of it.

According to http://www.jspwiki.org/wiki/VersioningProposal this is
fine. But don't forget about:
"Forward and backward compatibility within the same major.minor
revision is retained."

> And, as a part of the incubation process, we need to do at least one
> full "incubator" release to learn the ropes ;-)

I've got a few tips regarding this... I'm also reading the Jackrabbit
mailing list and there have been discussions on the following points:

* What's getting released and voted on is the source code, not the
  binaries. Binaries are just for user's comfort.
* Votes on releases should therefore be based on building the project
  from source and testing it with success.

These are points that are quite important to the ASF, Roy Fielding
himself had joined these discussions.

See the following threads for details:
http://www.nabble.com/Concerns-about-release-vote-behaviour-to16793535.html#a16793535
http://www.nabble.com/Sources-in-releases-(Was%3A--VOTE--Release-jackrabbit-jcr-commons-1.4.1)-to16315380.html#a16317011

Another point: Janne, don't you have to do a monthly report on the
project status? On the Jackrabbit mailing list, da draft of it is
published before handling it in.

Regards,
 Florian