Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

user Digest 21 May 2012 19:38:00 -0000 Issue 9605

user-digest-help

2012-05-21


Author LoginPost Reply

user Digest 21 May 2012 19:38:00 -0000 Issue 9605

Topics (messages 212856 through 212858)

Tutorials samples build failure: javac: invalid flag: -s
 212856 by: Alapiessa Petri
 212857 by: Łukasz Lenart

Re: Can we use the decorator pattern in Actions?
 212858 by: Łukasz Lenart

Administrivia:

---------------------------------------------------------------------
To post to the list, e-mail: user@(protected)
To unsubscribe, e-mail: user-digest-unsubscribe@(protected)
For additional commands, e-mail: user-digest-help@(protected)

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


Attachment: user_212856.eml (zipped)
Hello,
I have downloaded sample nro 2 but build fails.

http://code.google.com/p/struts2-examples/downloads/detail?name=Hello_World_Struts_2_Maven_2_3_1_2.zip&can=2&q=

[INFO] Compiling 2 source files to /home/petri/Documents/learning/struts/samples/Hello_World_Struts2_Mvn/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:
javac: invalid flag: -s
Usage: javac <options> <source files>

Can you polease help? Thank you very much.

Ystävällisin terveisin,
With best wishes,

Petri Alapiessa
Software Developer
Profit Software Ltd

petri.alapiessa@profitsoftware.com<mailto:petri.alapiessa@(protected)>

www.profitsoftware.com<http://www.profitsoftware.com/>



Attachment: user_212857.eml (zipped)
Just tried the same and it works smoothly ...

Java version ? OS ? Try with sample non-web neither non-struts2 maven
app, looks like your local Maven settings are broken....


Regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference - Confitura http://confitura.pl/

2012/5/21 Alapiessa Petri <Petri.Alapiessa@(protected)>:
> Hello,
> I have downloaded sample nro 2 but build fails.
>
> http://code.google.com/p/struts2-examples/downloads/detail?name=Hello_World_Struts_2_Maven_2_3_1_2.zip&can=2&q=
>
> [INFO] Compiling 2 source files to /home/petri/Documents/learning/struts/samples/Hello_World_Struts2_Mvn/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] Failure executing javac, but could not parse the error:
> javac: invalid flag: -s
> Usage: javac <options> <source files>
>
> Can you polease help? Thank you very much.
>
> Ystävällisin terveisin,
> With best wishes,
>
> Petri Alapiessa
> Software Developer
> Profit Software Ltd
>
> petri.alapiessa@profitsoftware.com<mailto:petri.alapiessa@(protected)>
>
> www.profitsoftware.com<http://www.profitsoftware.com/>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>


Attachment: user_212858.eml (zipped)
I'm not sure if I understand, but you should be able to create an
interceptor and check if action implements given interface, then
create (or reuse) your decorator to check security.


Regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference - Confitura http://confitura.pl/

©2008 gg3721.com - Jax Systems, LLC, U.S.A.