You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Serdyn du Toit <du...@gmail.com> on 2014/04/04 23:16:41 UTC

building source

Hi,

How do I build the source code?

If I do a "mvn clean install" I get the following errors:

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
\workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
onents\UIBean.java:[445,14] error: cannot find symbol
[ERROR]
\workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
onents\UIBean.java:[446,14] error: cannot find symbol
[ERROR]
\workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
onents\UIBean.java:[448,36] error: cannot find symbol
[ERROR]
\workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
onents\UIBean.java:[448,64] error: cannot find symbol


Its due to the compiler not recognizing HttpServletRequest and
HttpServletResponse classes.

Thanks,
Serdyn du Toit

Re: building source

Posted by Serdyn du Toit <du...@gmail.com>.
No problem Lukasz - its working so I'm happy :)

(and at least I didn't have to debug the build process; not too familiar
with Maven as I don't use it for my own code)

:)
Kind regards,
Serdyn du Toit



On Sat, Apr 5, 2014 at 3:32 PM, Lukasz Lenart <lu...@apache.org>wrote:

> 2014-04-05 15:19 GMT+02:00 Serdyn du Toit <du...@gmail.com>:
> > Got it working :)
> > mvn clean install -DskipAssembly=true
>
> Yes, sorry for that :-)
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: building source

Posted by Lukasz Lenart <lu...@apache.org>.
2014-04-05 15:19 GMT+02:00 Serdyn du Toit <du...@gmail.com>:
> Got it working :)
> mvn clean install -DskipAssembly=true

Yes, sorry for that :-)


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: building source

Posted by Serdyn du Toit <du...@gmail.com>.
Got it working :)
mvn clean install -DskipAssembly=true



On Sat, Apr 5, 2014 at 3:03 PM, Serdyn du Toit <du...@gmail.com> wrote:

> Thanks Lukasz,
>
> Okay, I think my code might have been corrupt (A lot of the developer
> links on the left hand side of the website is broken, so I connected to the
> old CVS server, followed the instructions in the readme, more steps and
> struggles, got some source repository details on the Struts website through
> a google search - before only now seeing the red Git banner on the Struts 2
> homepage)
>
> > mvn clean install -PskipAssembly
> I still get the password prompt though?  So it seems as if the -PskipAssembly
> profile is incorrect or not kicking in?
> (if I recall the -PskipAssembly profile was exactly for this, as your
> general non-committer that works with the source code doesn't have the
> required access?)
>
> Much appreciated Lukasz,
> Serdyn du Toit
>
>
>
> On Sat, Apr 5, 2014 at 11:21 AM, Lukasz Lenart <lu...@apache.org>wrote:
>
>> Strange, it supposes to work on JDK6 and JDK7, doesn't compile on JDK8
>> because of JavaDocs errors (but it's a plan for 2.5 ;-))
>> The only problem now is that you must skip assembly compilation by
>>
>> mvn clean install -PskipAssembly
>>
>>
>> 2014-04-04 23:16 GMT+02:00 Serdyn du Toit <du...@gmail.com>:
>> > Hi,
>> >
>> > How do I build the source code?
>> >
>> > If I do a "mvn clean install" I get the following errors:
>> >
>> > [ERROR] COMPILATION ERROR :
>> > [INFO] -------------------------------------------------------------
>> > [ERROR]
>> > \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
>> > onents\UIBean.java:[445,14] error: cannot find symbol
>> > [ERROR]
>> > \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
>> > onents\UIBean.java:[446,14] error: cannot find symbol
>> > [ERROR]
>> > \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
>> > onents\UIBean.java:[448,36] error: cannot find symbol
>> > [ERROR]
>> > \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
>> > onents\UIBean.java:[448,64] error: cannot find symbol
>> >
>> >
>> > Its due to the compiler not recognizing HttpServletRequest and
>> > HttpServletResponse classes.
>> >
>> > Thanks,
>> > Serdyn du Toit
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>

Re: building source

Posted by Serdyn du Toit <du...@gmail.com>.
Thanks Lukasz,

Okay, I think my code might have been corrupt (A lot of the developer links
on the left hand side of the website is broken, so I connected to the old
CVS server, followed the instructions in the readme, more steps and
struggles, got some source repository details on the Struts website through
a google search - before only now seeing the red Git banner on the Struts 2
homepage)

> mvn clean install -PskipAssembly
I still get the password prompt though?  So it seems as if the -PskipAssembly
profile is incorrect or not kicking in?
(if I recall the -PskipAssembly profile was exactly for this, as your
general non-committer that works with the source code doesn't have the
required access?)

Much appreciated Lukasz,
Serdyn du Toit



On Sat, Apr 5, 2014 at 11:21 AM, Lukasz Lenart <lu...@apache.org>wrote:

> Strange, it supposes to work on JDK6 and JDK7, doesn't compile on JDK8
> because of JavaDocs errors (but it's a plan for 2.5 ;-))
> The only problem now is that you must skip assembly compilation by
>
> mvn clean install -PskipAssembly
>
>
> 2014-04-04 23:16 GMT+02:00 Serdyn du Toit <du...@gmail.com>:
> > Hi,
> >
> > How do I build the source code?
> >
> > If I do a "mvn clean install" I get the following errors:
> >
> > [ERROR] COMPILATION ERROR :
> > [INFO] -------------------------------------------------------------
> > [ERROR]
> > \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> > onents\UIBean.java:[445,14] error: cannot find symbol
> > [ERROR]
> > \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> > onents\UIBean.java:[446,14] error: cannot find symbol
> > [ERROR]
> > \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> > onents\UIBean.java:[448,36] error: cannot find symbol
> > [ERROR]
> > \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> > onents\UIBean.java:[448,64] error: cannot find symbol
> >
> >
> > Its due to the compiler not recognizing HttpServletRequest and
> > HttpServletResponse classes.
> >
> > Thanks,
> > Serdyn du Toit
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: building source

Posted by Lukasz Lenart <lu...@apache.org>.
Strange, it supposes to work on JDK6 and JDK7, doesn't compile on JDK8
because of JavaDocs errors (but it's a plan for 2.5 ;-))
The only problem now is that you must skip assembly compilation by

mvn clean install -PskipAssembly


2014-04-04 23:16 GMT+02:00 Serdyn du Toit <du...@gmail.com>:
> Hi,
>
> How do I build the source code?
>
> If I do a "mvn clean install" I get the following errors:
>
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> onents\UIBean.java:[445,14] error: cannot find symbol
> [ERROR]
> \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> onents\UIBean.java:[446,14] error: cannot find symbol
> [ERROR]
> \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> onents\UIBean.java:[448,36] error: cannot find symbol
> [ERROR]
> \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> onents\UIBean.java:[448,64] error: cannot find symbol
>
>
> Its due to the compiler not recognizing HttpServletRequest and
> HttpServletResponse classes.
>
> Thanks,
> Serdyn du Toit

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: building source

Posted by Dave Newton <da...@gmail.com>.
Keep that kind of talk off the list.

And oh the irony.
 On Apr 4, 2014 6:39 PM, "Martin Gainty" <mg...@hotmail.com> wrote:

> That is exactly the kind of experience top flight consulting companies are
> now seeking
>
>
> I know plenty of Fortune 100 Consulting Organisations that would love to
> have someone on their staff
> of your calibre racking up THOUSANDS of billable hours.
>
> Email me off line for these high-paying consulting jobs
>
> Bon Chance!
> Martin
> ______________________________________________
> Note de déni et de confidentialité
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
> > Date: Fri, 4 Apr 2014 23:16:41 +0200
> > Subject: building source
> > From: dutoitns@gmail.com
> > To: user@struts.apache.org
> >
> > Hi,
> >
> > How do I build the source code?
> >
> > If I do a "mvn clean install" I get the following errors:
> >
> > [ERROR] COMPILATION ERROR :
> > [INFO] -------------------------------------------------------------
> > [ERROR]
> > \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> > onents\UIBean.java:[445,14] error: cannot find symbol
> > [ERROR]
> > \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> > onents\UIBean.java:[446,14] error: cannot find symbol
> > [ERROR]
> > \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> > onents\UIBean.java:[448,36] error: cannot find symbol
> > [ERROR]
> > \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> > onents\UIBean.java:[448,64] error: cannot find symbol
> >
> >
> > Its due to the compiler not recognizing HttpServletRequest and
> > HttpServletResponse classes.
> >
> > Thanks,
> > Serdyn du Toit
>

RE: building source

Posted by Martin Gainty <mg...@hotmail.com>.
That is exactly the kind of experience top flight consulting companies are now seeking


I know plenty of Fortune 100 Consulting Organisations that would love to have someone on their staff
of your calibre racking up THOUSANDS of billable hours.

Email me off line for these high-paying consulting jobs

Bon Chance!
Martin 
______________________________________________ 
Note de déni et de confidentialité
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.

  


> Date: Fri, 4 Apr 2014 23:16:41 +0200
> Subject: building source
> From: dutoitns@gmail.com
> To: user@struts.apache.org
> 
> Hi,
> 
> How do I build the source code?
> 
> If I do a "mvn clean install" I get the following errors:
> 
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> onents\UIBean.java:[445,14] error: cannot find symbol
> [ERROR]
> \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> onents\UIBean.java:[446,14] error: cannot find symbol
> [ERROR]
> \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> onents\UIBean.java:[448,36] error: cannot find symbol
> [ERROR]
> \workspace\struts2-apache-src\core\src\main\java\org\apache\struts2\comp
> onents\UIBean.java:[448,64] error: cannot find symbol
> 
> 
> Its due to the compiler not recognizing HttpServletRequest and
> HttpServletResponse classes.
> 
> Thanks,
> Serdyn du Toit