Re: [Wicket-user] 1.2.4: Test cannot find file

2007-01-04 Thread TH Lim

Thanks. I also interested in knowing what causes the test to fail.


igor.vaynberg wrote:
 
 mvn package -Dmaven.test.skip=true
 
 -igor
 
 
 On 1/3/07, TH Lim [EMAIL PROTECTED] wrote:


 Sorry to cut in :)

 ant jar is ok after renaming the the DTD file (for all that matters). I
 still encounter problem with mvn package. I traced the error back to a
 test class wicket.markup.html.form.upload.FileUploadFieldTest (line
 97-108).
 How do I make this test case successful? Thanks.


 Frank Bille wrote:
 
  Well it's actually my fault. When I created that unit test I assumed
 that
  we
  inclueded wicket-xhtml1-strict.dtd in the release. You should be fine
 just
  putting the a file in the root directory (C:\workspace\wicket-1.2.3)
 and
  call it wicket-xhtml1-strict.dtd. It's not the content that matters but
  that
  that is somewhat big.
 
  I'll fix this in the different releases. Martijn perhaps we should
 include
  a
  step in the release process that tests the release (run ant jar or
  something)?
 
  Frank
 
 
  On 1/3/07, TH Lim [EMAIL PROTECTED] wrote:
 
 
  I am compiling wicket-1.2.3 from the zip file using ant jar and the
  compilation was terminated unsuccessfully with the message [junit]
 File
  does not exists. You must provide an existing file:
  C:\workspace\wicket-1.2.3\wicket-xhtml1-strict.dtd. I found
  wicket-1.0-xhtml11.dtd in the directories src\site\resources\DTD and
  docs\DTD. Should rename wicket-1.0-xhtml11.dtd to
  wicket-xhtml1-strict.dtd
  and placed it to my local directory C:\workspace\wicket-1.2.3? Please
  advise.
 
 
  Martijn Dashorst wrote:
  
   We don't use ant ourselves. The dtd file should be in the root
   directory of the zip. Apparently the assembly descriptor used to
 build
   the download archive didn't pick it up. grmbl.
  
   You can get the dtd from svn or use the one supplied in the
  wicket-1.2.3
   zip.
  
   It hasn't been updated for a while (read 1 year or so).
  
   Martijn
  
   On 1/2/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
   Hmmm, anyone ?
   Can anybody pass the tests on wicket-1.2.4 with ant ? I'm using
  building
   a
   fresh distro with ant and the testInternalDetach test fails. Its
  looking
   for
   the wicket-xhtml1-strict.dtd file and can't find it .
  
  
   On 1/1/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
The FileUploadFieldTest try's to upload a non-existent file (
   wicket-xhtml1-strict.dtd ) Where should this file be ? I'm testing
  using
   ant
   jar task.
   
Iman
   
  
  
  
 
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
  share
   your
   opinions on IT  business topics through brief surveys - and earn
 cash
  
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
  
  
   --
   Vote for Wicket at the
   http://www.thebeststuffintheworld.com/vote_for/wicket
   Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
   http://wicketframework.org
  
  
 
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
 share
   your
   opinions on IT  business topics through brief surveys - and earn
 cash
  
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
  --
  View this message in context:
 
 http://www.nabble.com/1.2.4%3A-Test-cannot-find-file-tf2904045.html#a8139504
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
 share
  your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
  your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  

Re: [Wicket-user] 1.2.4: Test cannot find file

2007-01-03 Thread TH Lim

I am compiling wicket-1.2.3 from the zip file using ant jar and the
compilation was terminated unsuccessfully with the message [junit] File
does not exists. You must provide an existing file:
C:\workspace\wicket-1.2.3\wicket-xhtml1-strict.dtd. I found
wicket-1.0-xhtml11.dtd in the directories src\site\resources\DTD and
docs\DTD. Should rename wicket-1.0-xhtml11.dtd to wicket-xhtml1-strict.dtd
and placed it to my local directory C:\workspace\wicket-1.2.3? Please
advise.


Martijn Dashorst wrote:
 
 We don't use ant ourselves. The dtd file should be in the root
 directory of the zip. Apparently the assembly descriptor used to build
 the download archive didn't pick it up. grmbl.
 
 You can get the dtd from svn or use the one supplied in the wicket-1.2.3
 zip.
 
 It hasn't been updated for a while (read 1 year or so).
 
 Martijn
 
 On 1/2/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
 Hmmm, anyone ?
 Can anybody pass the tests on wicket-1.2.4 with ant ? I'm using building
 a
 fresh distro with ant and the testInternalDetach test fails. Its looking
 for
 the wicket-xhtml1-strict.dtd file and can't find it .


 On 1/1/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
  The FileUploadFieldTest try's to upload a non-existent file (
 wicket-xhtml1-strict.dtd ) Where should this file be ? I'm testing using
 ant
 jar task.
 
  Iman
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



 
 
 -- 
 Vote for Wicket at the
 http://www.thebeststuffintheworld.com/vote_for/wicket
 Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
 http://wicketframework.org
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/1.2.4%3A-Test-cannot-find-file-tf2904045.html#a8139504
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] 1.2.4: Test cannot find file

2007-01-03 Thread Frank Bille

Well it's actually my fault. When I created that unit test I assumed that we
inclueded wicket-xhtml1-strict.dtd in the release. You should be fine just
putting the a file in the root directory (C:\workspace\wicket-1.2.3) and
call it wicket-xhtml1-strict.dtd. It's not the content that matters but that
that is somewhat big.

I'll fix this in the different releases. Martijn perhaps we should include a
step in the release process that tests the release (run ant jar or
something)?

Frank


On 1/3/07, TH Lim [EMAIL PROTECTED] wrote:



I am compiling wicket-1.2.3 from the zip file using ant jar and the
compilation was terminated unsuccessfully with the message [junit] File
does not exists. You must provide an existing file:
C:\workspace\wicket-1.2.3\wicket-xhtml1-strict.dtd. I found
wicket-1.0-xhtml11.dtd in the directories src\site\resources\DTD and
docs\DTD. Should rename wicket-1.0-xhtml11.dtd to wicket-xhtml1-strict.dtd
and placed it to my local directory C:\workspace\wicket-1.2.3? Please
advise.


Martijn Dashorst wrote:

 We don't use ant ourselves. The dtd file should be in the root
 directory of the zip. Apparently the assembly descriptor used to build
 the download archive didn't pick it up. grmbl.

 You can get the dtd from svn or use the one supplied in the wicket-1.2.3
 zip.

 It hasn't been updated for a while (read 1 year or so).

 Martijn

 On 1/2/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
 Hmmm, anyone ?
 Can anybody pass the tests on wicket-1.2.4 with ant ? I'm using
building
 a
 fresh distro with ant and the testInternalDetach test fails. Its
looking
 for
 the wicket-xhtml1-strict.dtd file and can't find it .


 On 1/1/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
  The FileUploadFieldTest try's to upload a non-existent file (
 wicket-xhtml1-strict.dtd ) Where should this file be ? I'm testing
using
 ant
 jar task.
 
  Iman
 



-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





 --
 Vote for Wicket at the
 http://www.thebeststuffintheworld.com/vote_for/wicket
 Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
 http://wicketframework.org


-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



--
View this message in context:
http://www.nabble.com/1.2.4%3A-Test-cannot-find-file-tf2904045.html#a8139504
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] 1.2.4: Test cannot find file

2007-01-03 Thread Iman Rahmatizadeh

On 1/3/07, Frank Bille [EMAIL PROTECTED] wrote:


Well it's actually my fault. When I created that unit test I assumed that
we inclueded wicket-xhtml1-strict.dtd in the release. You should be fine
just putting the a file in the root directory (C:\workspace\wicket-1.2.3 )
and call it wicket-xhtml1-strict.dtd. It's not the content that matters
but that that is somewhat big.



Although unit tests shouldn't rely on external files, I guess you have no
choice here. Can you create the file on the fly and delete it afterwards ?
Or maybe somehow mock the file access thingy ?

I'll fix this in the different releases. Martijn perhaps we should include a

step in the release process that tests the release (run ant jar or
something)?



+1

Frank



On 1/3/07, TH Lim [EMAIL PROTECTED] wrote:


 I am compiling wicket-1.2.3 from the zip file using ant jar and the
 compilation was terminated unsuccessfully with the message [junit] File
 does not exists. You must provide an existing file:
 C:\workspace\wicket-1.2.3\wicket-xhtml1-strict.dtd. I found
 wicket-1.0-xhtml11.dtd in the directories src\site\resources\DTD and
 docs\DTD. Should rename wicket-1.0-xhtml11.dtd to
 wicket-xhtml1-strict.dtd
 and placed it to my local directory C:\workspace\wicket- 1.2.3? Please
 advise.


 Martijn Dashorst wrote:
 
  We don't use ant ourselves. The dtd file should be in the root
  directory of the zip. Apparently the assembly descriptor used to build

  the download archive didn't pick it up. grmbl.
 
  You can get the dtd from svn or use the one supplied in the
 wicket-1.2.3
  zip.
 
  It hasn't been updated for a while (read 1 year or so).
 
  Martijn
 
  On 1/2/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
  Hmmm, anyone ?
  Can anybody pass the tests on wicket-1.2.4 with ant ? I'm using
 building
  a
  fresh distro with ant and the testInternalDetach test fails. Its
 looking
  for
  the wicket-xhtml1-strict.dtd file and can't find it .
 
 
  On 1/1/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
   The FileUploadFieldTest try's to upload a non-existent file (
  wicket-xhtml1-strict.dtd ) Where should this file be ? I'm testing
 using
  ant
  jar task.
  
   Iman
  
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
 share
  your
  opinions on IT  business topics through brief surveys - and earn
 cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 
  --
  Vote for Wicket at the
  http://www.thebeststuffintheworld.com/vote_for/wicket
  Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
  http://wicketframework.org
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
 share
  your
  opinions on IT  business topics through brief surveys - and earn cash

 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context: 
http://www.nabble.com/1.2.4%3A-Test-cannot-find-file-tf2904045.html#a8139504

 Sent from the Wicket - User mailing list archive at Nabble.com.



 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash

Re: [Wicket-user] 1.2.4: Test cannot find file

2007-01-03 Thread Martijn Dashorst
First we need to know why the file needs to be there. Is there any
reason for the dtd to be in the root directory of the distribution, or
can it reside in another location? Is the dtd actually something we
support, and something that works?

Second, if we decide that it should be there, then we have to make
sure the maven assembly plugin copies the file into the final
distribution.

Third, the ant build file exists only for convenience. I want to
include it, but not maintain it. So if the ant build is breaking
regularly, then I'm more inclined to remove it altogether and only
supply the maven build. Adding more steps to building the release is
something I'm very -1 on. Building a release already takes 1 whole
day.

Martijn

On 1/3/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:

 On 1/3/07, Frank Bille [EMAIL PROTECTED] wrote:
  Well it's actually my fault. When I created that unit test I assumed that
 we inclueded wicket-xhtml1-strict.dtd in the release. You should be fine
 just putting the a file in the root directory (C:\workspace\wicket-1.2.3 )
 and call it wicket-xhtml1-strict.dtd. It's not the content that matters but
 that that is somewhat big.

 Although unit tests shouldn't rely on external files, I guess you have no
 choice here. Can you create the file on the fly and delete it afterwards ?
 Or maybe somehow mock the file access thingy ?
  I'll fix this in the different releases. Martijn perhaps we should include
 a step in the release process that tests the release (run ant jar or
 something)?

 +1

 
  Frank
 
 
 
 
  On 1/3/07, TH Lim [EMAIL PROTECTED]  wrote:
  
   I am compiling wicket-1.2.3 from the zip file using ant jar and the
   compilation was terminated unsuccessfully with the message [junit] File
   does not exists. You must provide an existing file:
   C:\workspace\wicket-1.2.3\wicket-xhtml1-strict.dtd. I found
   wicket-1.0-xhtml11.dtd in the directories src\site\resources\DTD and
   docs\DTD. Should rename wicket-1.0-xhtml11.dtd to
 wicket-xhtml1-strict.dtd
   and placed it to my local directory C:\workspace\wicket- 1.2.3? Please
   advise.
  
  
   Martijn Dashorst wrote:
   
We don't use ant ourselves. The dtd file should be in the root
directory of the zip. Apparently the assembly descriptor used to build
the download archive didn't pick it up. grmbl.
   
You can get the dtd from svn or use the one supplied in the
 wicket-1.2.3
zip.
   
It hasn't been updated for a while (read 1 year or so).
   
Martijn
   
On 1/2/07, Iman Rahmatizadeh [EMAIL PROTECTED]  wrote:
Hmmm, anyone ?
Can anybody pass the tests on wicket-1.2.4 with ant ? I'm using
 building
a
fresh distro with ant and the testInternalDetach test fails. Its
 looking
for
the wicket-xhtml1-strict.dtd file and can't find it .
   
   
On 1/1/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
 The FileUploadFieldTest try's to upload a non-existent file (
wicket-xhtml1-strict.dtd ) Where should this file be ? I'm testing
 using
ant
jar task.

 Iman

   
   
   
 -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
 share
your
opinions on IT  business topics through brief surveys - and earn
 cash
   
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
   
   
   
--
Vote for Wicket at the
http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
http://wicketframework.org
   
   
 -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
 share
your
opinions on IT  business topics through brief surveys - and earn cash
   
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
   --
   View this message in context:
 http://www.nabble.com/1.2.4%3A-Test-cannot-find-file-tf2904045.html#a8139504
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
  
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
   opinions on IT  business topics through brief surveys - and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   

Re: [Wicket-user] 1.2.4: Test cannot find file

2007-01-03 Thread Frank Bille

On 1/3/07, Martijn Dashorst [EMAIL PROTECTED] wrote:


First we need to know why the file needs to be there. Is there any
reason for the dtd to be in the root directory of the distribution, or
can it reside in another location? Is the dtd actually something we
support, and something that works?



I have only used the dtd because I was looking for a file which weren't too
small for the test and I saw that one. It doesn't matter what type of file I
use, it just have to be of a surden size (can't remember how much)


Second, if we decide that it should be there, then we have to make

sure the maven assembly plugin copies the file into the final
distribution.



I have never given it much thought about why we have something called
xhtml*.dtd. If noone knows why it's there I'm +1 for removing it all
together.


Third, the ant build file exists only for convenience. I want to

include it, but not maintain it. So if the ant build is breaking
regularly, then I'm more inclined to remove it altogether and only
supply the maven build.



+1


Adding more steps to building the release is

something I'm very -1 on. Building a release already takes 1 whole
day.



Don't you have some scripts to help you release it? You said something about
a script for doing the mvn clean site assembly:assembly thing in all
projects. Can't you add a line or two to unpack the release and run mvn test
in it? Is there something I/we can help you with in setting up a good
release environment/scripts so it will be easier for you?


Frank


Martijn


On 1/3/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:

 On 1/3/07, Frank Bille [EMAIL PROTECTED] wrote:
  Well it's actually my fault. When I created that unit test I assumed
that
 we inclueded wicket-xhtml1-strict.dtd in the release. You should be fine
 just putting the a file in the root directory (C:\workspace\wicket-1.2.3)
 and call it wicket-xhtml1-strict.dtd. It's not the content that matters
but
 that that is somewhat big.

 Although unit tests shouldn't rely on external files, I guess you have
no
 choice here. Can you create the file on the fly and delete it afterwards
?
 Or maybe somehow mock the file access thingy ?
  I'll fix this in the different releases. Martijn perhaps we should
include
 a step in the release process that tests the release (run ant jar or
 something)?

 +1

 
  Frank
 
 
 
 
  On 1/3/07, TH Lim [EMAIL PROTECTED]  wrote:
  
   I am compiling wicket-1.2.3 from the zip file using ant jar and
the
   compilation was terminated unsuccessfully with the message [junit]
File
   does not exists. You must provide an existing file:
   C:\workspace\wicket-1.2.3\wicket-xhtml1-strict.dtd. I found
   wicket-1.0-xhtml11.dtd in the directories src\site\resources\DTD and
   docs\DTD. Should rename wicket-1.0-xhtml11.dtd to
 wicket-xhtml1-strict.dtd
   and placed it to my local directory C:\workspace\wicket- 1.2.3?
Please
   advise.
  
  
   Martijn Dashorst wrote:
   
We don't use ant ourselves. The dtd file should be in the root
directory of the zip. Apparently the assembly descriptor used to
build
the download archive didn't pick it up. grmbl.
   
You can get the dtd from svn or use the one supplied in the
 wicket-1.2.3
zip.
   
It hasn't been updated for a while (read 1 year or so).
   
Martijn
   
On 1/2/07, Iman Rahmatizadeh [EMAIL PROTECTED]  wrote:
Hmmm, anyone ?
Can anybody pass the tests on wicket-1.2.4 with ant ? I'm using
 building
a
fresh distro with ant and the testInternalDetach test fails. Its
 looking
for
the wicket-xhtml1-strict.dtd file and can't find it .
   
   
On 1/1/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
 The FileUploadFieldTest try's to upload a non-existent file (
wicket-xhtml1-strict.dtd ) Where should this file be ? I'm
testing
 using
ant
jar task.

 Iman

   
   
   

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
 share
your
opinions on IT  business topics through brief surveys - and earn
 cash
   

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
   
   
   
--
Vote for Wicket at the
http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
http://wicketframework.org
   
   

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
 share
your
opinions on IT  business topics through brief surveys - and earn
cash
   


Re: [Wicket-user] 1.2.4: Test cannot find file

2007-01-03 Thread Martijn Dashorst
 Don't you have some scripts to help you release it? You said something about
 a script for doing the mvn clean site assembly:assembly thing in all
 projects. Can't you add a line or two to unpack the release and run mvn test
 in it? Is there something I/we can help you with in setting up a good
 release environment/scripts so it will be easier for you?

I have some scripts to help me, but building the actual stuff is not
what takes the most time.

Wicket 1.x is special in that it requires 2 different JVM's (otherwise
you have the possibility of using 1.5 rt.jar in your 1.4 project):

JDK 1.4:
 * wicket, wicket-extensions, wicket-examples, wicket-spring,
wicket-spring-examples

JDK 1.5:
 * the rest of the projects

So I have two maven start up scripts: mvn4 and mvn. mvn4 uses the
JDK1.4 (doesn't know that 1.5 even exists).


Steps I do:
 - check out the wicket-1.2.x branch
 - try to build all projects
 - fix compilation issues
 - fix unit tests
 - try to build all projects
 - fix dependencies
 - try to build all projects
 - generate the sites
 - fix the site documentation
 - generate the sites
 - try to build all projects
 - commit to svn
 - svn copy wicket-1.2.x to tags/wicket-1.2.5
 - svn copy tags/wicket-1.2.5 to releases/wicket-1.2.5
 - switch to releases/wicket-1.2.5
 - update all project files to use version 1.2.5
 - edit index.xml in site of Wicket project to add release notes
 - generate site for wicket project
 - curse the maven site plugin for being very buggy
 - edit index.xml in site of Wicket project to add release notes
 - generate site for wicket project
 - repeat last 3 steps until the site is workable
 - commit to svn
 - generate assemblies using script
 - look at contents of distributions to see if anything is really wrong
 - try to build jar with mvn, sometimes even with ant
 - rebuild assemblies
 - commit to svn
 - upload assemblies to sf.net
 - create releases for each project in release filesystem
 - assign each zip and tgz to a project and release
 - update release descriptors for each zip and tgz to platform
independent and zip, tgz respectivily
 - deploy site to sf.net
 - check if site still works
 - create release notes for email to user, dev, announce list
 - create release notes for javalobby.org, blog

So the biggest problems are in the manual stuff: failing unittests,
maven plugins that don't work, sites that don't generate, and mostly:
waiting for the compiler, jar/javadoc/unittests to do their work.

The last stage is also mind numbing: releasing to sf.net, as each file
released requires about 15 mouse clicks to complete (each click is a
page request).

The best way of helping is ensuring that all the unittests run when a
release vote is held.

Martijn

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] 1.2.4: Test cannot find file

2007-01-03 Thread TH Lim

Sorry to cut in :)

ant jar is ok after renaming the the DTD file (for all that matters). I
still encounter problem with mvn package. I traced the error back to a
test class wicket.markup.html.form.upload.FileUploadFieldTest (line 97-108). 
How do I make this test case successful? Thanks.


Frank Bille wrote:
 
 Well it's actually my fault. When I created that unit test I assumed that
 we
 inclueded wicket-xhtml1-strict.dtd in the release. You should be fine just
 putting the a file in the root directory (C:\workspace\wicket-1.2.3) and
 call it wicket-xhtml1-strict.dtd. It's not the content that matters but
 that
 that is somewhat big.
 
 I'll fix this in the different releases. Martijn perhaps we should include
 a
 step in the release process that tests the release (run ant jar or
 something)?
 
 Frank
 
 
 On 1/3/07, TH Lim [EMAIL PROTECTED] wrote:


 I am compiling wicket-1.2.3 from the zip file using ant jar and the
 compilation was terminated unsuccessfully with the message [junit] File
 does not exists. You must provide an existing file:
 C:\workspace\wicket-1.2.3\wicket-xhtml1-strict.dtd. I found
 wicket-1.0-xhtml11.dtd in the directories src\site\resources\DTD and
 docs\DTD. Should rename wicket-1.0-xhtml11.dtd to
 wicket-xhtml1-strict.dtd
 and placed it to my local directory C:\workspace\wicket-1.2.3? Please
 advise.


 Martijn Dashorst wrote:
 
  We don't use ant ourselves. The dtd file should be in the root
  directory of the zip. Apparently the assembly descriptor used to build
  the download archive didn't pick it up. grmbl.
 
  You can get the dtd from svn or use the one supplied in the
 wicket-1.2.3
  zip.
 
  It hasn't been updated for a while (read 1 year or so).
 
  Martijn
 
  On 1/2/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
  Hmmm, anyone ?
  Can anybody pass the tests on wicket-1.2.4 with ant ? I'm using
 building
  a
  fresh distro with ant and the testInternalDetach test fails. Its
 looking
  for
  the wicket-xhtml1-strict.dtd file and can't find it .
 
 
  On 1/1/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
   The FileUploadFieldTest try's to upload a non-existent file (
  wicket-xhtml1-strict.dtd ) Where should this file be ? I'm testing
 using
  ant
  jar task.
  
   Iman
  
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
 share
  your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 
  --
  Vote for Wicket at the
  http://www.thebeststuffintheworld.com/vote_for/wicket
  Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
  http://wicketframework.org
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
  your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context:
 http://www.nabble.com/1.2.4%3A-Test-cannot-find-file-tf2904045.html#a8139504
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/1.2.4%3A-Test-cannot-find-file-tf2904045.html#a8154075
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. 

Re: [Wicket-user] 1.2.4: Test cannot find file

2007-01-03 Thread Igor Vaynberg

mvn package -Dmaven.test.skip=true

-igor


On 1/3/07, TH Lim [EMAIL PROTECTED] wrote:



Sorry to cut in :)

ant jar is ok after renaming the the DTD file (for all that matters). I
still encounter problem with mvn package. I traced the error back to a
test class wicket.markup.html.form.upload.FileUploadFieldTest (line
97-108).
How do I make this test case successful? Thanks.


Frank Bille wrote:

 Well it's actually my fault. When I created that unit test I assumed
that
 we
 inclueded wicket-xhtml1-strict.dtd in the release. You should be fine
just
 putting the a file in the root directory (C:\workspace\wicket-1.2.3) and
 call it wicket-xhtml1-strict.dtd. It's not the content that matters but
 that
 that is somewhat big.

 I'll fix this in the different releases. Martijn perhaps we should
include
 a
 step in the release process that tests the release (run ant jar or
 something)?

 Frank


 On 1/3/07, TH Lim [EMAIL PROTECTED] wrote:


 I am compiling wicket-1.2.3 from the zip file using ant jar and the
 compilation was terminated unsuccessfully with the message [junit]
File
 does not exists. You must provide an existing file:
 C:\workspace\wicket-1.2.3\wicket-xhtml1-strict.dtd. I found
 wicket-1.0-xhtml11.dtd in the directories src\site\resources\DTD and
 docs\DTD. Should rename wicket-1.0-xhtml11.dtd to
 wicket-xhtml1-strict.dtd
 and placed it to my local directory C:\workspace\wicket-1.2.3? Please
 advise.


 Martijn Dashorst wrote:
 
  We don't use ant ourselves. The dtd file should be in the root
  directory of the zip. Apparently the assembly descriptor used to
build
  the download archive didn't pick it up. grmbl.
 
  You can get the dtd from svn or use the one supplied in the
 wicket-1.2.3
  zip.
 
  It hasn't been updated for a while (read 1 year or so).
 
  Martijn
 
  On 1/2/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
  Hmmm, anyone ?
  Can anybody pass the tests on wicket-1.2.4 with ant ? I'm using
 building
  a
  fresh distro with ant and the testInternalDetach test fails. Its
 looking
  for
  the wicket-xhtml1-strict.dtd file and can't find it .
 
 
  On 1/1/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
   The FileUploadFieldTest try's to upload a non-existent file (
  wicket-xhtml1-strict.dtd ) Where should this file be ? I'm testing
 using
  ant
  jar task.
  
   Iman
  
 
 
 

-
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
 share
  your
  opinions on IT  business topics through brief surveys - and earn
cash
 

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 
  --
  Vote for Wicket at the
  http://www.thebeststuffintheworld.com/vote_for/wicket
  Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
  http://wicketframework.org
 
 

-
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
share
  your
  opinions on IT  business topics through brief surveys - and earn
cash
 

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context:

http://www.nabble.com/1.2.4%3A-Test-cannot-find-file-tf2904045.html#a8139504
 Sent from the Wicket - User mailing list archive at Nabble.com.



-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



--
View this message in context:
http://www.nabble.com/1.2.4%3A-Test-cannot-find-file-tf2904045.html#a8154075
Sent from the Wicket - User mailing list archive at Nabble.com.



Re: [Wicket-user] 1.2.4: Test cannot find file

2007-01-02 Thread Iman Rahmatizadeh

Hmmm, anyone ?
Can anybody pass the tests on wicket-1.2.4 with ant ? I'm using building a
fresh distro with ant and the testInternalDetach test fails. Its looking for
the wicket-xhtml1-strict.dtd file and can't find it .

On 1/1/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:


The FileUploadFieldTest try's to upload a non-existent file (
wicket-xhtml1-strict.dtd ) Where should this file be ? I'm testing using
ant jar task.

Iman

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] 1.2.4: Test cannot find file

2007-01-02 Thread Martijn Dashorst
We don't use ant ourselves. The dtd file should be in the root
directory of the zip. Apparently the assembly descriptor used to build
the download archive didn't pick it up. grmbl.

You can get the dtd from svn or use the one supplied in the wicket-1.2.3 zip.

It hasn't been updated for a while (read 1 year or so).

Martijn

On 1/2/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
 Hmmm, anyone ?
 Can anybody pass the tests on wicket-1.2.4 with ant ? I'm using building a
 fresh distro with ant and the testInternalDetach test fails. Its looking for
 the wicket-xhtml1-strict.dtd file and can't find it .


 On 1/1/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
  The FileUploadFieldTest try's to upload a non-existent file (
 wicket-xhtml1-strict.dtd ) Where should this file be ? I'm testing using ant
 jar task.
 
  Iman
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user