The joy of spaces in the path...
c:\users\al\struts2\eclipse workspace\struts2 as the checkout area fails
c:\users\al\struts2\workspace\struts2 as the checkout area works
Yup, renaming the directory to something without a space fixes the problem.
Thanks to everyone for their efforts to double check my efforts.
----- Original Message -----
From: "Mitchell James" <[EMAIL PROTECTED]>
To: "Struts Developers List" <dev@struts.apache.org>
Sent: Monday, January 14, 2008 8:11 PM
Subject: Re: Overnight builds & snapshots
On my MacBook Pro, good to go!
[EMAIL PROTECTED] ~/svn/struts/struts2]$ java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-
b05-241)
Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode, sharing)
[EMAIL PROTECTED] ~/svn/struts/struts2]$ mvn clean install -Pall
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Struts 2
[INFO] Struts 2 Core
[INFO] Struts Plugins
[INFO] Struts 2 Codebehind Plugin
[INFO] Struts 2 Configuration Browser Plugin
[INFO] Struts 2 Jasper Reports Plugin
[INFO] Struts 2 JFreeChart Plugin
[INFO] Struts 2 JSF Plugin
[INFO] Struts 2 Pell Multipart Plugin
[INFO] Struts 2 Plexus Plugin
[INFO] Struts 2 Sitegraph Plugin
[INFO] Struts 2 Sitemesh Plugin
[INFO] Struts 2 Spring Plugin
[INFO] Struts 2 Struts 1 Plugin
[INFO] Struts 2 Tiles Plugin
[INFO] Struts 2 Dojo Plugin
[INFO] Struts 2 Plugin
[INFO] Struts 2 Portlet Plugin
[INFO] Webapps
[INFO] Blank Webapp
[INFO] Starter Webapp
[INFO] Portlet Webapp
[INFO] Showcase Webapp
[INFO] Struts 2 Rest Showcase Example
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Struts 2
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
----
[INFO] [clean:clean]
[INFO] Deleting directory /Users/jmitchell/svn/struts/struts2/target
[INFO] Deleting directory /Users/jmitchell/svn/struts/struts2/target/
classes
<snip/>
[INFO] Assembling webapp struts2-rest-showcase in /Users/jmitchell/
svn/struts/struts2/apps/rest-showcase/target/struts2-rest-showcase
[INFO] Copy webapp webResources to /Users/jmitchell/svn/struts/
struts2/apps/rest-showcase/target/struts2-rest-showcase
[INFO] Copy webapp webResources to /Users/jmitchell/svn/struts/
struts2/apps/rest-showcase/target/struts2-rest-showcase
[INFO] Generating war /Users/jmitchell/svn/struts/struts2/apps/rest-
showcase/target/struts2-rest-showcase.war
[INFO] Building war: /Users/jmitchell/svn/struts/struts2/apps/rest-
showcase/target/struts2-rest-showcase.war
[INFO] [install:install]
[INFO] Installing /Users/jmitchell/svn/struts/struts2/apps/rest-
showcase/target/struts2-rest-showcase.war to /Users/jmitchell/.m2/
repository/org/apache/struts/struts2-rest-showcase/2.1.1-SNAPSHOT/
struts2-rest-showcase-2.1.1-SNAPSHOT.war
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] Struts 2 ..............................................
SUCCESS [1.908s]
[INFO] Struts 2 Core .........................................
SUCCESS [1:29.902s]
[INFO] Struts Plugins ........................................
SUCCESS [0.165s]
[INFO] Struts 2 Codebehind Plugin ............................
SUCCESS [4.632s]
[INFO] Struts 2 Configuration Browser Plugin .................
SUCCESS [1.370s]
[INFO] Struts 2 Jasper Reports Plugin ........................
SUCCESS [8.123s]
[INFO] Struts 2 JFreeChart Plugin ............................
SUCCESS [8.218s]
[INFO] Struts 2 JSF Plugin ...................................
SUCCESS [1.838s]
[INFO] Struts 2 Pell Multipart Plugin ........................
SUCCESS [0.698s]
[INFO] Struts 2 Plexus Plugin ................................
SUCCESS [1.441s]
[INFO] Struts 2 Sitegraph Plugin .............................
SUCCESS [5.020s]
[INFO] Struts 2 Sitemesh Plugin ..............................
SUCCESS [1.524s]
[INFO] Struts 2 Spring Plugin ................................
SUCCESS [2.000s]
[INFO] Struts 2 Struts 1 Plugin ..............................
SUCCESS [15.597s]
[INFO] Struts 2 Tiles Plugin .................................
SUCCESS [1.230s]
[INFO] Struts 2 Dojo Plugin ..................................
SUCCESS [29.253s]
[INFO] Struts 2 Plugin .......................................
SUCCESS [2.747s]
[INFO] Struts 2 Portlet Plugin ...............................
SUCCESS [8.470s]
[INFO] Webapps ...............................................
SUCCESS [0.928s]
[INFO] Blank Webapp ..........................................
SUCCESS [4.479s]
[INFO] Starter Webapp ........................................
SUCCESS [2.539s]
[INFO] Portlet Webapp ........................................
SUCCESS [25.596s]
[INFO] Showcase Webapp .......................................
SUCCESS [13.753s]
[INFO] Struts 2 Rest Showcase Example ........................
SUCCESS [2.861s]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 minutes 55 seconds
[INFO] Finished at: Mon Jan 14 15:00:00 EST 2008
[INFO] Final Memory: 24M/53M
[INFO]
------------------------------------------------------------------------
[EMAIL PROTECTED] ~/svn/struts/struts2]$
--
James Mitchell
On Jan 14, 2008, at 2:50 PM, Ted Husted wrote:
Hmmm, do you have a non-Vista machine handy?
It seems to be fine on Linux (Ubuntu?) and XPx64. Anyone try it on
a Mac today?
On Jan 14, 2008 2:32 PM, Al Sutton <[EMAIL PROTECTED]> wrote:
OK, After the detour down the getting eclipse working I'm back on
track to
see whats wrong and I'd be grateful if someone could check this over.
Whats happening at the moment is that
FreeMarkerResultTest.testWithoutWriteIfCompleted is calling
through to
FreemarkerResult.execute, which in turn calls through to
FreemarkerResult.doExecute in turn calls through to
ResourceUtil.getResourceBase, which is where I beleive a problem is
occurring.
ResourceUtil.getResourceBase returns a base of "" (an empty
string), which
means the specified template can't be found (because it's in
org.apache.struts2.views.freemarker instead of the default
package). This
throws an FileNotFound exception from line 167 of
FreemarkerResult.java
(Template template = configuration.getTemplate(locationArg,
deduceLocale());), and because the template has not been found the
StringWriter has not been written to, and thus it's empty and
fails the
test.
Is this suppose to be the case and the StringWriter should have
been written
to, or is ResourceUtil.getResourceBase suppose to return something
useful,
find the template and the test case complete in another way?
Al.
----- Original Message -----
From: "Al Sutton" <[EMAIL PROTECTED]>
To: "Struts Developers List" <dev@struts.apache.org>
Sent: Monday, January 14, 2008 4:20 PM
Subject: Re: Overnight builds & snapshots
I've cleaned out the temporary files, put -Xmx128M in MAVEN_OPTS,
and
maven reports Final Memory: 16M/42M. The box is a 3GB Q6600 so I
can ramp
up the ram available to the JVM as far as neccessary.
I've been trying to see if I could hack together an Eclipse
workspace to
do some tracing in to find out whats happening, but the svn tree
seems to
favour IntelliJ IDEA, and I'd prefer not to have to learn a new
IDE just
for investigation of the problem :(
Al.
----- Original Message -----
From: "Ted Husted" <[EMAIL PROTECTED]>
To: "Struts Developers List" <dev@struts.apache.org>
Sent: Monday, January 14, 2008 3:32 PM
Subject: Re: Overnight builds & snapshots
On Jan 14, 2008 8:46 AM, Al Sutton <[EMAIL PROTECTED]> wrote:
I'm going to look into it some more, but is it possible that
bamboo is
missing something? (or that the test is showing up a platform
difference
between the bamboo compile farm and my Vista/JDK 1.5.0_14
machine)?
It's working for me under XPx64. We have had platform-specific
issues
before, using having to do with memory allocation or temporary
files.
The first thing to check is that Maven has enough memory. The
second
might be that Vista has not amassed too many temporary files.
HTH, Ted.
<http://www.StrutsMentor.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]