I'll be out of town for a few days but will commit the fixes for xwork in trunk
and the 2.0x branch.
(the one with OgnlValueStackTest)
However the last failed test with the alias interceptor is still open at the
moment. If anyone knows how to fix? Details posted in prev post.
James can you look in the corresponding TEST- XML fille. It's this file that
has additional tests in the bag.
The plain .txt file is correct. Also on my system.
-
Posted via Jive Forums
Great news.
I was using Maven 2.05 vanilla. The surefire plugin in this dist is buggy.
(*) Would be nice if maven could report if there are never plugins released
that you could use.
Well I upgraded to v2.3 of the surefire plugin and it now executes all the
tests.
Before:
Tests run: 168,
Got 3 out of 4 failed tested fixed now.
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=72225messageID=135717#135717
-
To
James did you specify version 2.3 in the pom.xml to use the one that works?
The pom.xml in the svn does not specify this.
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=72225messageID=135764#135764
Only one failing test left.
Failed tests:
testUsingDefaultInterceptorThatAliasPropertiesAreCopied(com.opensymphony.xwork2.interceptor.AliasInterceptorTest)
Tests run: 518, Failures: 1, Errors: 0, Skipped: 0
---
Test
From the performance tuning page:
Copy the /template directory from the Struts 2 jar in your WEB_APP root.
Freemarker fails to properly cache templates when they are retrieved from the
classpath. Copying them to the WEB_APP root allows Freemarker to cache them
correctly. Freemarker looks at
Is it just me or is surefire not a bit strange on the xwork project?
Could you try this:
mvn clean
mvn surefire-report:report
And then look in target/site/surefire-report.html. Then click on the first test
- ActionContextTest.
It should have only 8 tests. but the list is much bigger on my
Damm surefire seems to be a bit buggy. Just browsed it's JIRA.
Created a minor bug: http://jira.codehaus.org/browse/SUREFIRE-312
-
Posted via Jive Forums
Strange.
On my XP it seems to work.
D:\project\xworksvn info
Path: .
URL: https://svn.opensymphony.com/svn/xwork/trunk
Repository Root: https://svn.opensymphony.com/svn/xwork
Repository UUID: e221344d-f017-0410-9bd5-d282ab1896d7
Revision: 1388
Node Kind: directory
Schedule: normal
Last Changed
Some info at the wiki
http://struts.apache.org/2.x/docs/building-with-maven.html
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=72376messageID=135035#135035
Isn't it a unit test executed by surefire? that tests what happens if you do a
XSLTransformation with an invalid filename, and thus it log it at ERROR level
but the test is fine.
Try compiling without executing the tests with -Dskip.test=true or whatever the
syntax is.
Brian you got enough memory setup for Maven?
I have
MAVEN_OPTS=-Xmx512m
and have no problems.
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=71861messageID=134516#134516
Hi
I have setup a local developer environment for Struts2 and clover to report on
the unit tests.
When the unit tests are executed they are setup to only log at WARN level
(log4j.properties in core/test/resources folder). In clover there are some log
output at DEBUG level that are not tested
Revision: 518082
works deploying to jetty using mvn jetty:run
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=70363messageID=132377#132377
+1
It should be easy for the people that do the heavy lifting of developing this
great framework.
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=70084messageID=131939#131939
Hi
Is the quickstart from WW a part of S2?
In the source code tree in the apps/showcase folder there is a qucikstart.xml
file.
Maybe it's obsolete and can be removed?
-
Posted via Jive Forums
Hi
I have updated to latest code using svn up and recompiled the code
svn info
Revision: 517622
The showcase sample can not start in either Jetty or Tomcat failing with:
mvn jetty:run
[b]From Jetty[/b]
[INFO] Failure
Embedded error: Error building results for action index in namespace
Hi me again
I get a warning about missing pom. Is there a minor issue here?
(I am not a maven wizard yet)
[INFO] snapshot org.apache.struts:struts2-tiles-plugin:2.1.0-SNAPSHOT: checking
for updates from opensymphony
Downloading:
Oh I had to disable the dojo-plugin from the pom.xml as it can not be found:
Missing:
--
1) org.apache.struts:struts2-dojo-plugin:jar:2.1.0-SNAPSHOT
-
Posted via Jive Forums
Oh I had to disable the dojo-plugin from the pom.xml as it can not be found:
Missing:
--
1) org.apache.struts:struts2-dojo-plugin:jar:2.1.0-SNAPSHOT
-
Posted via Jive Forums
The showcase used to work with an older revision.
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=70363messageID=131980#131980
-
To
The JDK1.5 api looks really great.
I'm not native english but is this interface name correct?
Validatable
Should it not be?
Validateable
/Claus
-
Posted via Jive Forums
Jason +1. That would really make XWork much easier to unit test.
I can help with that part of the work.
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=28543messageID=56542#56542
+1 - great work guys.
I had a computer crash at home last weekend and couldn't be online ;(
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=28608messageID=55964#55964
+1
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=27314messageID=53821#53821
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Bob this is really a great list for doing some house cleaning.
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=26278messageID=52211#52211
+1 struts-action.xml
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=26278messageID=52373#52373
-
To unsubscribe, e-mail: [EMAIL
28 matches
Mail list logo