Re: Parent package is not defined

2013-10-08 Thread Umesh Awasthi
Thanks for suggestion They were same as suggested by you. I messed up with them lately :) Will correct them. On Tue, Oct 8, 2013 at 12:25 PM, Lukasz Lenart wrote: > 2013/10/8 Umesh Awasthi : > > Hi Lukasz, > > > > thanks for demo application. > > I am working on it and hope to complete it soon

Re: Parent package is not defined

2013-10-07 Thread Lukasz Lenart
2013/10/8 Umesh Awasthi : > Hi Lukasz, > > thanks for demo application. > I am working on it and hope to complete it soon. > > Thanks for the correction as i have not tested it yet (My plugin code ;)) You're welcome :-) And I suggest changing groupId and artifcatId, e.g. org.apache.struts struts

Re: Parent package is not defined

2013-10-07 Thread Umesh Awasthi
Hi Lukasz, thanks for demo application. I am working on it and hope to complete it soon. Thanks for the correction as i have not tested it yet (My plugin code ;)) Thanks Umesh On Tue, Oct 8, 2013 at 11:42 AM, Lukasz Lenart wrote: > My demo app > > https://github.com/lukaszlenart/struts2-js

Re: Parent package is not defined

2013-10-07 Thread Lukasz Lenart
My demo app https://github.com/lukaszlenart/struts2-jsr303-example Anyway, first the plugin must be fully operational, right now it performs validation but it lacks of validation messages ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/10/8 Lukasz Lenart : > After instal

Re: Parent package is not defined

2013-10-07 Thread Lukasz Lenart
After installing the plugin locally (mvn clean source:jar install) I have added it as follow: struts2-jsr303-validator-plugin jsr303-validator 1.0-SNAPSHOT org.hibernate hibernate-validator 4.3.1.Fi

Re: Parent package is not defined

2013-10-07 Thread Umesh Awasthi
Thanks Everyone, issue was with my Eclipse as it was not updating project dependencies. On Mon, Oct 7, 2013 at 10:50 PM, Umesh Awasthi wrote: > I have got root cause of my issue. I was not checking it thoroughly and > thinking that my plugin is not being loaded properly. > > Not sure about root

Re: Parent package is not defined

2013-10-07 Thread Umesh Awasthi
I have got root cause of my issue. I was not checking it thoroughly and thinking that my plugin is not being loaded properly. Not sure about root cause yet. I have declared plugin dependency in my Struts2 sample application's pom.xml as bean-validator-plugin bean-validator

Re: Parent package is not defined

2013-10-07 Thread Dave Newton
On Mon, Oct 7, 2013 at 12:53 PM, Umesh Awasthi wrote: > Not sure why its showing this structure, i tried git for first time so > might be i have done some wrong steps. > No, it's fine; that's part of the github directory structure. > On Mon, Oct 7, 2013 at 10:06 PM, Martin Gainty > wrote: > >

Re: Parent package is not defined

2013-10-07 Thread Umesh Awasthi
; > > > > > From: lukaszlen...@apache.org > > Date: Mon, 7 Oct 2013 17:35:07 +0200 > > Subject: Re: Parent package is not defined > > To: user@struts.apache.org > > > > It works for me ;-) Right now preparing small demo. > > > > > > Regard

RE: Parent package is not defined

2013-10-07 Thread Martin Gainty
be located in https://github.com/umeshawasthi/jsr303-validator-plugin/src/main/resources/struts-plugin.xml unlink src ..should do it.. Martin __ > From: lukaszlen...@apache.org > Date: Mon, 7 Oct 2013 17:35:07 +0200 > Subject: Re: Paren

Re: Parent package is not defined

2013-10-07 Thread Umesh Awasthi
struts-plugin.xml exists in the jar? > >>> >> > > > > > >>> >> > > > > > >>> >> > > > > Regards > >>> >> > > > > -- > >>> >> > > > > Łukasz > >

Re: Parent package is not defined

2013-10-07 Thread Lukasz Lenart
> >> > > > > -- >>> >> > > > > Łukasz >>> >> > > > > + 48 606 323 122 http://www.lenart.org.pl/ >>> >> > > > > >>> >> > > > > 2013/10/7 Umesh Awasthi : >>> >&g

Re: Parent package is not defined

2013-10-07 Thread Umesh Awasthi
ttp://www.lenart.org.pl/ >> >> > > > > >> >> > > > > 2013/10/7 Umesh Awasthi : >> >> > > > > > Hi Lukaz, >> >> > > > > > >> >> > > > > > Its name is st

Re: Parent package is not defined

2013-10-07 Thread Umesh Awasthi
hi : > >> > > > > > Hi Lukaz, > >> > > > > > > >> > > > > > Its name is struts-plugin.xml, moreover i have used maven to > >> > generate > >> > > > > > plugin structure for me. > >> &

Re: Parent package is not defined

2013-10-06 Thread Lukasz Lenart
2013/10/7 Umesh Awasthi : > Hi Chris, > > Not sure what you mean by root directory? When you extract the jar file, struts-plugin.xml must be on the top of directory structure, not in some package. -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ -

Re: Parent package is not defined

2013-10-06 Thread Lukasz Lenart
>> > > > > > plugin structure for me. >> > > > > > Not sure why it is happening like this. >> > > > > > >> > > > > > I even cross checked it with other plugin provided with Struts >&

Re: Parent package is not defined

2013-10-06 Thread Umesh Awasthi
> distribution > > > > > > and everything is same not sure why this is happening. > > > > > > > > > > > > > > > > > > On Mon, Oct 7, 2013 at 10:20 AM, Lukasz Lenart < > > > > lukaszlen...@apache.org > > > > > >

Re: Parent package is not defined

2013-10-06 Thread Chris Pratt
t; > > > > > > > On Mon, Oct 7, 2013 at 10:20 AM, Lukasz Lenart < > > > lukaszlen...@apache.org > > > > >wrote: > > > > > > > > > >> How did you name your xml file? It must be struts-plugin.xml and > > then > > > >

Re: Parent package is not defined

2013-10-06 Thread Umesh Awasthi
> > > and everything is same not sure why this is happening. > > > > > > > > > > > > On Mon, Oct 7, 2013 at 10:20 AM, Lukasz Lenart < > > lukaszlen...@apache.org > > > >wrote: > > > > > > > >> How d

Re: Parent package is not defined

2013-10-06 Thread Chris Pratt
Hi All, > > >> > > > >> > Facing "Parent package is not defined" exception and not sure where > > >> things > > >> > are worng. > > >> > > > >> > I have created a new plugin and want to use this plugin

Re: Parent package is not defined

2013-10-06 Thread Umesh Awasthi
ad it. > >> > >> > >> Regards > >> -- > >> Łukasz > >> + 48 606 323 122 http://www.lenart.org.pl/ > >> > >> 2013/10/5 Umesh Awasthi : > >> > Hi All, > >> > > >> > Facing &

Re: Parent package is not defined

2013-10-06 Thread Lukasz Lenart
ruts-plugin.xml and then >> framework will automatically load it. >> >> >> Regards >> -- >> Łukasz >> + 48 606 323 122 http://www.lenart.org.pl/ >> >> 2013/10/5 Umesh Awasthi : >> > Hi All, >> > >> > Facing "Parent

Re: Parent package is not defined

2013-10-06 Thread Umesh Awasthi
gt; > > > > For testing purpose i created a blank application by using > > "struts2-archetype-blank" and this is how i am using plugin package > > > > > > > > but i am getting following exception on server startup > > > > Cause

Re: Parent package is not defined

2013-10-06 Thread Lukasz Lenart
How did you name your xml file? It must be struts-plugin.xml and then framework will automatically load it. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/10/5 Umesh Awasthi : > Hi All, > > Facing "Parent package is not defined" exception and not sure

Re: Parent package is not defined

2013-10-05 Thread Umesh Awasthi
il.com> wrote: > > > > > have you registered your "myPlugin" in struts,xml file. > > > > > > *Thanks and Regards,* > > > Muralidhar Yaragalla. > > > * > > > * > > > > > > > > > On Sat, Oct 5, 2013 at 8:11 PM, Umesh A

Re: Parent package is not defined

2013-10-05 Thread Yaragalla Muralidhar
> > > > > On Sat, Oct 5, 2013 at 8:11 PM, Umesh Awasthi > >wrote: > > > > > Hi All, > > > > > > Facing "Parent package is not defined" exception and not sure where > > things > > > are worng. > > > > > > I

Re: Parent package is not defined

2013-10-05 Thread Umesh Awasthi
t; > > On Sat, Oct 5, 2013 at 8:11 PM, Umesh Awasthi >wrote: > > > Hi All, > > > > Facing "Parent package is not defined" exception and not sure where > things > > are worng. > > > > I have created a new plugin and want to use this plu

Re: Parent package is not defined

2013-10-05 Thread Yaragalla Muralidhar
have you registered your "myPlugin" in struts,xml file. *Thanks and Regards,* Muralidhar Yaragalla. * * On Sat, Oct 5, 2013 at 8:11 PM, Umesh Awasthi wrote: > Hi All, > > Facing "Parent package is not defined" exception and not sure where things > are worng. >

Parent package is not defined

2013-10-05 Thread Umesh Awasthi
Hi All, Facing "Parent package is not defined" exception and not sure where things are worng. I have created a new plugin and want to use this plugin in my web-app, this is how i have defined my plugin package For testing purpose i created a blank application by using "struts2-