Hi Paul... I just tried again and still had a build failure... any
thoughts? ...
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
K:\projects\struts>mvn
[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 139 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\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\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] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Thu Dec 06 19:01:29 EST 2007
[INFO] Final Memory: 9M/27M
[INFO]
------------------------------------------------------------------------
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)
Frank
Paul Benedict wrote:
STR-3118 has been opened to track this issue:
https://issues.apache.org/struts/browse/STR-3118
You should have no problems now, but you never know. :)
Paul
On Dec 5, 2007 10:25 AM, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
Thanks Paul. No rush, I have a DataVision build to roll today anyway,
not to mention a really hairy prod LDAP issue at work, so it's not like
I have nothing else to do :o
Frank
Paul Benedict wrote:
Well this is a definite oversight and so mea culpa. I am surprised
neither
my Maven build picked this up nor Continuum which is running the
Struts 1.4build at Apache. When I get home, Frank, I will fix this for
you.
Paul
On Dec 5, 2007 7:55 AM, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
I *definitely* say no... I know in my shop, we're going to be stuck
with
JDK 1.4 for nearly another year because of Websphere, so it would keep
me from moving up the Struts 1.x ladder (although, we're still on 1.2.8
I believe, so we're back a ways regardless).
My feeling is that S1 should pretty much always stay on 1.4... I think
with the large installed base, and many in shops that haven't and don't
plan to bump to JDK 1.5, the 1.x track should remain accessible to
them.
I'd like to see the JDK line be S1 vs. S2... those that are stuck on
1.4 for whatever reason know that the 1.x track is for them, those on
1.5+ can choose either track.
Frank
Paul Benedict wrote:
I didn't unilaterally decide to use JDK 1.5 features. No worries. This
is
just an oversight, but what bugs me is that the Maven compiler (at
least
on
my side) didn't set the right compiler version and catch the error.
Bummer.
Anyway, AFAIK, 1.4 is still a JDK 1.4 project. But since Frank tried
this
out, I guess we should ask if 1.5 should be used or not? At the
moment,
I
say no. Thoughts?
Paul
On Dec 5, 2007 7:14 AM, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
Niall Pemberton wrote:
Looks like core uses JDK 1.5 features - for example the
IllegalStateException constructors which take a "Throwable" cause
were
only added in JDK 1.5:
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html
I don't remember agreeing to move to JDK 1.5 (from JDK 1.4) for the
next Struts (1.4) version - but perhaps we did?
I had a feeling that might have been the case, but I too don't
remember
even discussion of requiring 1.5 at any point so I figured I must be
wrong.
And I can confirm that switching to java5 works, got a successful
build
now... actually, I have java6 installed so I used that, but I assume
java5 would work too.
Frank
Niall
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]
------------------------------------------------------------------------
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]
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.15/1173 - Release Date: 12/5/2007 9:29 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]