Ok, you offered help, now you're in for it :)

I tried to build from the top-level directory I checked out to after a fresh checkout and it didn't work. I'm at a loss any time I see a Maven problem (which, in my experience, is any time I've tried to use it for any project, but I digress), so I don't even know where to begin to solve this. I added the -e option as Maven suggested. Here's a dump of the build session... any help would be appreciated...

K:\projects\struts>mvn -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Struts
[INFO]   Struts Core
[INFO]   Struts Tiles
[INFO]   Struts Taglib
[INFO]   Struts EL
[INFO]   Struts Extras
[INFO]   Struts Faces
[INFO]   Struts Mailreader DAO
[INFO]   Struts Scripting
[INFO]   Struts - Tiles 2 integration
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Struts
[INFO]    task-segment: [install]
[INFO] -------------------------------------------------------------------------
---
[INFO] [site:attach-descriptor]
[WARNING] Unable to load parent project from repository: Could not find the mode
l file 'K:\projects\struts\..\pom.xml'.
[INFO] [install:install]
[INFO] Installing K:\projects\struts\pom.xml to C:\Documents and Settings\Admini
strator\.m2\repository\org\apache\struts\struts-parent\1.4.0-SNAPSHOT\struts-par
ent-1.4.0-SNAPSHOT.pom
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Struts Core
[INFO]    task-segment: [install]
[INFO] -------------------------------------------------------------------------
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
Artifact javax.servlet:servlet-api:jar:2.3:provided retains local scope
'provided' overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove the loc
al scope.

[INFO] [compiler:compile]
[INFO] Compiling 75 source files to K:\projects\struts\core\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

K:\projects\struts\core\src\main\java\org\apache\struts\chain\commands\Exception
Catcher.java:[167,18] cannot resolve symbol
symbol : constructor IllegalStateException (java.lang.String,java.lang.Exceptio
n)
location: class java.lang.IllegalStateException

K:\projects\struts\core\src\main\java\org\apache\struts\action\DynaActionFormCla
ss.java:[253,18] cannot resolve symbol
symbol : constructor IllegalArgumentException (java.lang.String,java.lang.Throw
able)
location: class java.lang.IllegalArgumentException

K:\projects\struts\core\src\main\java\org\apache\struts\validator\ValidatorForm.
java:[114,18] cannot resolve symbol
symbol : constructor IllegalStateException (java.lang.String,java.lang.NullPoin
terException)
location: class java.lang.IllegalStateException

K:\projects\struts\core\src\main\java\org\apache\struts\config\impl\ModuleConfig
Impl.java:[724,24] cannot resolve symbol
symbol  : method parseBoolean (java.lang.String)
location: class java.lang.Boolean

K:\projects\struts\core\src\main\java\org\apache\struts\upload\CommonsMultipartR
equestHandler.java:[278,34] cannot resolve symbol
symbol  : method contains (java.lang.String)
location: class java.lang.String

K:\projects\struts\core\src\main\java\org\apache\struts\chain\commands\generic\C
opyFormToContext.java:[254,18] cannot resolve symbol
symbol : constructor IllegalStateException (java.lang.String,java.lang.ClassCas
tException)
location: class java.lang.IllegalStateException


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:555)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation fail
ure
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:516)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        ... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Tue Dec 04 23:08:26 EST 2007
[INFO] Final Memory: 8M/15M
[INFO] ------------------------------------------------------------------------

Also, FYI:

K:\projects\struts>java -version
java version "1.4.2_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)

K:\projects\struts>mvn -v
Maven version: 2.0.4


Frank W. Zammetti wrote:
Thanks, will do. Once I have things fleshed out a little I'll bring it up for discussion here. I want to make sure *I* think the ideas are good first, and have some actual code to show for it.

Frank

Paul Benedict wrote:
If I can help with anything, let me know!

On Dec 4, 2007 7:50 PM, Martin Cooper <[EMAIL PROTECTED]> wrote:

On Dec 4, 2007 5:24 PM, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:

At The Ajax Experience back in October, Ted and I tossed around a few
ideas for new S1 features (Ajax only being one, contrary to the location
of the discussions!), and since I've just completed writing on my most
recent book I had some time and was hoping to test some things out.

But, I'm embarrassed to admit, I can't seem to find the correct SVN path
to check out S1 TRUNK!  I found the web viewer just fine, and from it I
guessed that http://svn.apache.org/struts/struts1/trunk/ seemed
reasonable, but no good (error 403).  I tried a couple of variations of
that URL before I decided I must have guessed wrong.

Is this what you're looking for?

http://svn.apache.org/repos/asf/struts/struts1/trunk

--
Martin Cooper




Can someone point me in the right direction?  Thanks!

Frank

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Ajax Projects With Java Technology"
 (2006, Apress, ISBN 1-59059-695-1)
and "JavaScript, DOM Scripting and Ajax Projects"
 (2007, Apress, ISBN 1-59059-816-4)
Java Web Parts - http://javawebparts.sourceforge.net
 Supplying the wheel, so you don't have to reinvent it!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.14/1171 - Release Date: 12/4/2007 7:31 PM


--
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Ajax Projects With Java Technology"
 (2006, Apress, ISBN 1-59059-695-1)
and "JavaScript, DOM Scripting and Ajax Projects"
 (2007, Apress, ISBN 1-59059-816-4)
Java Web Parts - http://javawebparts.sourceforge.net
 Supplying the wheel, so you don't have to reinvent it!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to