You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Don Brown <mr...@twdata.org> on 2007/01/19 20:54:39 UTC

Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Ok, it looks like the change to move the tag annotations into core 
yesterday broke the TLD generation, so the 2.0.3 jar is completely 
missing the struts-tags.tld file.  In addition, it seems a new one won't 
generate.  This absolutely has to be fixed ASAP.

Don

Don Brown wrote:
> There shouldn't be a struts-2.0.3-all.jar.  Do you mean a 
> struts-2.0.3-all.zip?
>
> Don
>
> Stuart Piltch wrote:
>> Hi there,
>>
>> I just grabbed the latest struts-2.0.3-all.jar (19-Jan-2007 05:50) to 
>> start
>> testing some of the new features and I noticed that two files that I 
>> expected to
>> be in there are missing. One is META-INF/struts-tags.tld and the 
>> other is the
>> struts2-spring-plugin-2.0.3.jar
>>
>> Do I need to get these separately now?
>>
>> Cheers,
>>
>>  - stuart
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>>   
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>


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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Ted Husted <hu...@apache.org>.
OK.

On 1/19/07, Don Brown <mr...@twdata.org> wrote:
> The solution is to do a mvn clean and build a fresh
> struts-annotations.jar.  In the meantime, I added the TLD back until we
> are sure this situation is resolved.
>
> Don

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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Ted Husted <hu...@apache.org>.
If one checks out "current", then it is made to appear as if maven and
struts2 are adjoining folders, but in the repository, each has its own
trunk.

The question that raises is what procedure to follow when tagging the
repository so that it could be rebuilt from the tag later?

We had just been tagging the struts2 trunk. (And likewise just the
struts1 trunk.) Now it sounds like we should tag both the maven trunk
and the struts2 trunk, and then expect both to be checked out side by
side to build against the tag.

There would also be the question of branches. If we were to branch,
would we need to branch both the struts2 (or struts1) trunk and the
maven trunk together?

How much under maven do Struts 1 and Struts 2 actually share? Would be
it better or easier to give each its own maven folder?

-Ted.


On 1/21/07, Rene Gielen <gi...@it-neering.net> wrote:
> Sorry for that late reply, was on the road last two days.
>
> I just added the profile as discussed in master pom. Works fine AFAIK.
>
> I assumed a directory organization like we have in the svn repository,
> so that we have the maven repository checked out besides struts2
> repository, which means the reference in pom.xml goes to
> ../maven/struts-aanotations. Another solution would be to just assume
> the struts annotations module is found besides struts2 repo. So that
> point might to be discussed.
>
> - Rene
>
> Don Brown schrieb:
> > I agree, but even then, would maven really download the newer version?
> > With xwork, we used to have the problem where newer snapshots wouldn't
> > be downloaded if the local repo has a copy.
> >
> > Rene had a good idea to add a profile, much like do we do for xwork,
> > which will bring in the project and build it first.
> >
> > Don
> >
> > Joe Germuska wrote:
> >> wouldn't it be as good or better for someone to deploy a newer
> >> SNAPSHOT of
> >> struts-annotation.jar so that it just gets pulled down automatically?
> >>
> >> On 1/19/07, Don Brown <mr...@twdata.org> wrote:
> >>>
> >>> You have to build the struts-annotation.jar and install it in your local
> >>> maven repository:
> >>>
> >>> cd maven/struts-annotations
> >>> mvn install
> >>>
> >>> Then 2.0.3 will build correctly.
> >>>
> >>> Don
> >>>
> >>> Ted Husted wrote:
> >>> > On 1/19/07, Don Brown <mr...@twdata.org> wrote:
> >>> >> The solution is to do a mvn clean and build a fresh
> >>> >> struts-annotations.jar.  In the meantime, I added the TLD back
> >>> until we
> >>> >> are sure this situation is resolved.
> >>> >
> >>> > From a clean checkout of the Struts 2.0.3 tag and a clean struts m2
> >>> > repository, I don't see that the TLD is being generated.
> >>> >
> >>> > -Ted.

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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Rene Gielen <gi...@it-neering.net>.
Sorry for that late reply, was on the road last two days.

I just added the profile as discussed in master pom. Works fine AFAIK.

I assumed a directory organization like we have in the svn repository, 
so that we have the maven repository checked out besides struts2 
repository, which means the reference in pom.xml goes to 
../maven/struts-aanotations. Another solution would be to just assume 
the struts annotations module is found besides struts2 repo. So that 
point might to be discussed.

- Rene

Don Brown schrieb:
> I agree, but even then, would maven really download the newer version?  
> With xwork, we used to have the problem where newer snapshots wouldn't 
> be downloaded if the local repo has a copy.
> 
> Rene had a good idea to add a profile, much like do we do for xwork, 
> which will bring in the project and build it first.
> 
> Don
> 
> Joe Germuska wrote:
>> wouldn't it be as good or better for someone to deploy a newer 
>> SNAPSHOT of
>> struts-annotation.jar so that it just gets pulled down automatically?
>>
>> On 1/19/07, Don Brown <mr...@twdata.org> wrote:
>>>
>>> You have to build the struts-annotation.jar and install it in your local
>>> maven repository:
>>>
>>> cd maven/struts-annotations
>>> mvn install
>>>
>>> Then 2.0.3 will build correctly.
>>>
>>> Don
>>>
>>> Ted Husted wrote:
>>> > On 1/19/07, Don Brown <mr...@twdata.org> wrote:
>>> >> The solution is to do a mvn clean and build a fresh
>>> >> struts-annotations.jar.  In the meantime, I added the TLD back 
>>> until we
>>> >> are sure this situation is resolved.
>>> >
>>> > From a clean checkout of the Struts 2.0.3 tag and a clean struts m2
>>> > repository, I don't see that the TLD is being generated.
>>> >
>>> > -Ted.
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>> > For additional commands, e-mail: dev-help@struts.apache.org
>>> >
>>> >
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>
>>>
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
> 


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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Musachy Barroso <mu...@gmail.com>.
That's what I saw the other day while creating an app with the archetype.

musachy

On 1/19/07, Wendy Smoak <ws...@gmail.com> wrote:
>
> On 1/19/07, Musachy Barroso <mu...@gmail.com> wrote:
>
> > It isn't required at runtime. It is used at compile time by the apt
> plugin
> > to generate the tld file and some html files.
>
> Thanks.  Ted, I see you just re-tagged, but this is pretty important.
>
> The way the pom.xml now stands, anyone who declares a dependency on
> struts2-core will pull the snapshot of struts-annotations into their
> webapp, because it is declared as a compile-time dependency.  (It
> should be happening in the example apps now, in fact.)
>
> That jar should probably be in <extensions> instead of in <dependencies>.
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Wendy Smoak <ws...@gmail.com>.
On 1/19/07, Musachy Barroso <mu...@gmail.com> wrote:

> It isn't required at runtime. It is used at compile time by the apt plugin
> to generate the tld file and some html files.

Thanks.  Ted, I see you just re-tagged, but this is pretty important.

The way the pom.xml now stands, anyone who declares a dependency on
struts2-core will pull the snapshot of struts-annotations into their
webapp, because it is declared as a compile-time dependency.  (It
should be happening in the example apps now, in fact.)

That jar should probably be in <extensions> instead of in <dependencies>.

-- 
Wendy

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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Don Brown <mr...@twdata.org>.
Yeah, this is an issue with the tld generation we need to address.

Don

Ted Husted wrote:
> Is the build suppose to be changing doubleselect.html and
> optiontransferslect.html ?
>
> On 1/19/07, husted@apache.org <hu...@apache.org> wrote:
>> Modified: 
>> struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html
>> URL: 
>> http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html?view=diff&rev=498041&r1=498040&r2=498041 
>>
>> ============================================================================== 
>>
>> --- 
>> struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html 
>> (original)
>> +++ 
>> struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html 
>> Fri Jan 19 17:50:47 2007
>> @@ -137,7 +137,7 @@
>>                                         <td align="left" 
>> valign="top"></td>
>>                                         <td align="left" 
>> valign="top">true</td>
>>                                         <td align="left" 
>> valign="top">String</td>
>> -                                       <td align="left" 
>> valign="top">The key expression to use for second list</td>
>> +                                       <td align="left" 
>> valign="top">Set the list key of the second attribute</td>
>>                                 </tr>
>>                                 <tr>
>>                                         <td align="left" 
>> valign="top">doubleListValue</td>
>>
>> Modified: 
>> struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html 
>>
>> URL: 
>> http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html?view=diff&rev=498041&r1=498040&r2=498041 
>>
>> ============================================================================== 
>>
>> --- 
>> struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html 
>> (original)
>> +++ 
>> struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html 
>> Fri Jan 19 17:50:47 2007
>> @@ -241,7 +241,7 @@
>>                                         <td align="left" 
>> valign="top"></td>
>>                                         <td align="left" 
>> valign="top">true</td>
>>                                         <td align="left" 
>> valign="top">String</td>
>> -                                       <td align="left" 
>> valign="top">The key expression to use for second list</td>
>> +                                       <td align="left" 
>> valign="top">Set the list key of the second attribute</td>
>>                                 </tr>
>>                                 <tr>
>>                                         <td align="left" 
>> valign="top">doubleListValue</td>
>>
>> Modified: struts/struts2/trunk/plugins/codebehind/pom.xml
>> URL: 
>> http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/codebehind/pom.xml?view=diff&rev=498041&r1=498040&r2=498041 
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>


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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Ted Husted <hu...@apache.org>.
Is the build suppose to be changing doubleselect.html and
optiontransferslect.html ?

On 1/19/07, husted@apache.org <hu...@apache.org> wrote:
> Modified: struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html?view=diff&rev=498041&r1=498040&r2=498041
> ==============================================================================
> --- struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html (original)
> +++ struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html Fri Jan 19 17:50:47 2007
> @@ -137,7 +137,7 @@
>                                         <td align="left" valign="top"></td>
>                                         <td align="left" valign="top">true</td>
>                                         <td align="left" valign="top">String</td>
> -                                       <td align="left" valign="top">The key expression to use for second list</td>
> +                                       <td align="left" valign="top">Set the list key of the second attribute</td>
>                                 </tr>
>                                 <tr>
>                                         <td align="left" valign="top">doubleListValue</td>
>
> Modified: struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html?view=diff&rev=498041&r1=498040&r2=498041
> ==============================================================================
> --- struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html (original)
> +++ struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html Fri Jan 19 17:50:47 2007
> @@ -241,7 +241,7 @@
>                                         <td align="left" valign="top"></td>
>                                         <td align="left" valign="top">true</td>
>                                         <td align="left" valign="top">String</td>
> -                                       <td align="left" valign="top">The key expression to use for second list</td>
> +                                       <td align="left" valign="top">Set the list key of the second attribute</td>
>                                 </tr>
>                                 <tr>
>                                         <td align="left" valign="top">doubleListValue</td>
>
> Modified: struts/struts2/trunk/plugins/codebehind/pom.xml
> URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/codebehind/pom.xml?view=diff&rev=498041&r1=498040&r2=498041
>

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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Wendy Smoak <ws...@gmail.com>.
On 1/19/07, Joe Germuska <jo...@germuska.com> wrote:

> Hm.  I've been doing a lot of local development with M2 and Snapshots and
> haven't noticed any problems with it grabbing new ones from the repo.
>
> If that is happening, it's a bug in M2; it's supposed to always go look for
> new snapshots unless you specify differently.

It is a bug in Maven 2.0.4 which will only fetch new snapshots if they
have 'unique versions' (timestamped snapshots).  I can't recall which
builds have <uniqueVersion>false, but it needs to be changed to true.

-- 
Wendy

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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Musachy Barroso <mu...@gmail.com>.
It isn't required at runtime. It is used at compile time by the apt plugin
to generate the tld file and some html files.

musachy

On 1/19/07, Wendy Smoak <ws...@gmail.com> wrote:
>
> On 1/19/07, Don Brown <mr...@twdata.org> wrote:
>
> > Yeah, that's an interesting problem, cause would we tag all of
> > struts/maven?  Do we tag individual projects along side the regular core
> > tag?  They have the same 2.0.3-SNAPSHOT version.
> >
> > Wendy, what's the best way to handle this?
>
> I'm not all that familiar with the s2 build, but I'd suggest we tag
> and release struts-annotations.  It's the same sort of thing we do
> with the struts-master pom.
>
> You don't have to tag all of maven/trunk, you can just tag the module
> you're interested in, over to maven/tags.
>
> In the tag for 2.0.3, I see this in the struts2-core pom.xml:
>
>         <dependency>
>             <groupId>org.apache.struts</groupId>
>             <artifactId>struts-annotations</artifactId>
>             <version>1.0-SNAPSHOT</version>
>             <scope>compile</scope>
>         </dependency>
>
> Can someone fill me in on the details here?  Is that jar really
> required at runtime?
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Wendy Smoak <ws...@gmail.com>.
On 1/19/07, Don Brown <mr...@twdata.org> wrote:

> Yeah, that's an interesting problem, cause would we tag all of
> struts/maven?  Do we tag individual projects along side the regular core
> tag?  They have the same 2.0.3-SNAPSHOT version.
>
> Wendy, what's the best way to handle this?

I'm not all that familiar with the s2 build, but I'd suggest we tag
and release struts-annotations.  It's the same sort of thing we do
with the struts-master pom.

You don't have to tag all of maven/trunk, you can just tag the module
you're interested in, over to maven/tags.

In the tag for 2.0.3, I see this in the struts2-core pom.xml:

        <dependency>
            <groupId>org.apache.struts</groupId>
            <artifactId>struts-annotations</artifactId>
            <version>1.0-SNAPSHOT</version>
            <scope>compile</scope>
        </dependency>

Can someone fill me in on the details here?  Is that jar really
required at runtime?

-- 
Wendy

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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Don Brown <mr...@twdata.org>.
Yeah, that's an interesting problem, cause would we tag all of 
struts/maven?  Do we tag individual projects along side the regular core 
tag?  They have the same 2.0.3-SNAPSHOT version. 

Wendy, what's the best way to handle this?

Don



Ted Husted wrote:
> So, if we're dependant on this version of struts-annotations, I'm
> thinking we should tag it too. I deployed it at r498040. Just not sure
> what to call it.
>
> STRUTS_2_0_3_STRUTS-ANNOTATIONS ?
>
> -T
>
> On 1/19/07, Ted Husted <hu...@apache.org> wrote:
>> On 1/19/07, Ted Husted <hu...@apache.org> wrote:
>> > On 1/19/07, Don Brown <mr...@twdata.org> wrote:
>> > > Ok, cool, maybe it has been fixed.  Well, I deployed the snapshot so
>> > > hopefully this doesn't happen again.
>> >
>> > When I tried it clean, without deploying the struts-annotations
>> > separately, it did not generate the TLD.
>> >
>> > When I tried it clean again, with deploying the struts-annotations
>> > first, it did generate the TLD, but I don't see the TLD in the JAR.
>> >
>> > I'll try the HEAD with the in-place JAR to see if that gets bundled.
>>
>> OK, against the head the TLD is included. To move forward, I'll re-tag
>> against the head, and run 2.0.3.
>>
>> As they say, the third time is the charm :)
>>
>> -Ted.
>>
>
>


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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Ted Husted <hu...@apache.org>.
So, if we're dependant on this version of struts-annotations, I'm
thinking we should tag it too. I deployed it at r498040. Just not sure
what to call it.

STRUTS_2_0_3_STRUTS-ANNOTATIONS ?

-T

On 1/19/07, Ted Husted <hu...@apache.org> wrote:
> On 1/19/07, Ted Husted <hu...@apache.org> wrote:
> > On 1/19/07, Don Brown <mr...@twdata.org> wrote:
> > > Ok, cool, maybe it has been fixed.  Well, I deployed the snapshot so
> > > hopefully this doesn't happen again.
> >
> > When I tried it clean, without deploying the struts-annotations
> > separately, it did not generate the TLD.
> >
> > When I tried it clean again, with deploying the struts-annotations
> > first, it did generate the TLD, but I don't see the TLD in the JAR.
> >
> > I'll try the HEAD with the in-place JAR to see if that gets bundled.
>
> OK, against the head the TLD is included. To move forward, I'll re-tag
> against the head, and run 2.0.3.
>
> As they say, the third time is the charm :)
>
> -Ted.
>


-- 
HTH, Ted.
* http://www.husted.com/struts/

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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Ted Husted <hu...@apache.org>.
On 1/19/07, Ted Husted <hu...@apache.org> wrote:
> On 1/19/07, Don Brown <mr...@twdata.org> wrote:
> > Ok, cool, maybe it has been fixed.  Well, I deployed the snapshot so
> > hopefully this doesn't happen again.
>
> When I tried it clean, without deploying the struts-annotations
> separately, it did not generate the TLD.
>
> When I tried it clean again, with deploying the struts-annotations
> first, it did generate the TLD, but I don't see the TLD in the JAR.
>
> I'll try the HEAD with the in-place JAR to see if that gets bundled.

OK, against the head the TLD is included. To move forward, I'll re-tag
against the head, and run 2.0.3.

As they say, the third time is the charm :)

-Ted.

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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Ted Husted <hu...@apache.org>.
On 1/19/07, Don Brown <mr...@twdata.org> wrote:
> Ok, cool, maybe it has been fixed.  Well, I deployed the snapshot so
> hopefully this doesn't happen again.

When I tried it clean, without deploying the struts-annotations
separately, it did not generate the TLD.

When I tried it clean again, with deploying the struts-annotations
first, it did generate the TLD, but I don't see the TLD in the JAR.

I'll try the HEAD with the in-place JAR to see if that gets bundled.

-Ted.

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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Don Brown <mr...@twdata.org>.
Ok, cool, maybe it has been fixed.  Well, I deployed the snapshot so 
hopefully this doesn't happen again.

Don

Joe Germuska wrote:
> On 1/19/07, Don Brown <mr...@twdata.org> wrote:
>>
>> I agree, but even then, would maven really download the newer version?
>> With xwork, we used to have the problem where newer snapshots wouldn't
>> be downloaded if the local repo has a copy.
>>
>> Rene had a good idea to add a profile, much like do we do for xwork,
>> which will bring in the project and build it first.
>>
>> Don
>
>
> Hm.  I've been doing a lot of local development with M2 and Snapshots and
> haven't noticed any problems with it grabbing new ones from the repo.
>
> If that is happening, it's a bug in M2; it's supposed to always go 
> look for
> new snapshots unless you specify differently.
>
> But if Rene's solution works, that makes sense.
>
>
>
>


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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Joe Germuska <jo...@germuska.com>.
On 1/19/07, Don Brown <mr...@twdata.org> wrote:
>
> I agree, but even then, would maven really download the newer version?
> With xwork, we used to have the problem where newer snapshots wouldn't
> be downloaded if the local repo has a copy.
>
> Rene had a good idea to add a profile, much like do we do for xwork,
> which will bring in the project and build it first.
>
> Don


Hm.  I've been doing a lot of local development with M2 and Snapshots and
haven't noticed any problems with it grabbing new ones from the repo.

If that is happening, it's a bug in M2; it's supposed to always go look for
new snapshots unless you specify differently.

But if Rene's solution works, that makes sense.




-- 
Joe Germuska
Joe@Germuska.com * http://blog.germuska.com

"The truth is that we learned from João forever to be out of tune."
-- Caetano Veloso

Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Don Brown <mr...@twdata.org>.
I agree, but even then, would maven really download the newer version?  
With xwork, we used to have the problem where newer snapshots wouldn't 
be downloaded if the local repo has a copy.

Rene had a good idea to add a profile, much like do we do for xwork, 
which will bring in the project and build it first.

Don

Joe Germuska wrote:
> wouldn't it be as good or better for someone to deploy a newer 
> SNAPSHOT of
> struts-annotation.jar so that it just gets pulled down automatically?
>
> On 1/19/07, Don Brown <mr...@twdata.org> wrote:
>>
>> You have to build the struts-annotation.jar and install it in your local
>> maven repository:
>>
>> cd maven/struts-annotations
>> mvn install
>>
>> Then 2.0.3 will build correctly.
>>
>> Don
>>
>> Ted Husted wrote:
>> > On 1/19/07, Don Brown <mr...@twdata.org> wrote:
>> >> The solution is to do a mvn clean and build a fresh
>> >> struts-annotations.jar.  In the meantime, I added the TLD back 
>> until we
>> >> are sure this situation is resolved.
>> >
>> > From a clean checkout of the Struts 2.0.3 tag and a clean struts m2
>> > repository, I don't see that the TLD is being generated.
>> >
>> > -Ted.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> > For additional commands, e-mail: dev-help@struts.apache.org
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>


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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Joe Germuska <jo...@germuska.com>.
wouldn't it be as good or better for someone to deploy a newer SNAPSHOT of
struts-annotation.jar so that it just gets pulled down automatically?

On 1/19/07, Don Brown <mr...@twdata.org> wrote:
>
> You have to build the struts-annotation.jar and install it in your local
> maven repository:
>
> cd maven/struts-annotations
> mvn install
>
> Then 2.0.3 will build correctly.
>
> Don
>
> Ted Husted wrote:
> > On 1/19/07, Don Brown <mr...@twdata.org> wrote:
> >> The solution is to do a mvn clean and build a fresh
> >> struts-annotations.jar.  In the meantime, I added the TLD back until we
> >> are sure this situation is resolved.
> >
> > From a clean checkout of the Struts 2.0.3 tag and a clean struts m2
> > repository, I don't see that the TLD is being generated.
> >
> > -Ted.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>


-- 
Joe Germuska
Joe@Germuska.com * http://blog.germuska.com

"The truth is that we learned from João forever to be out of tune."
-- Caetano Veloso

Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Don Brown <mr...@twdata.org>.
You have to build the struts-annotation.jar and install it in your local 
maven repository:

cd maven/struts-annotations
mvn install

Then 2.0.3 will build correctly.

Don

Ted Husted wrote:
> On 1/19/07, Don Brown <mr...@twdata.org> wrote:
>> The solution is to do a mvn clean and build a fresh
>> struts-annotations.jar.  In the meantime, I added the TLD back until we
>> are sure this situation is resolved.
>
> From a clean checkout of the Struts 2.0.3 tag and a clean struts m2
> repository, I don't see that the TLD is being generated.
>
> -Ted.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>


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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Ted Husted <hu...@apache.org>.
On 1/19/07, Don Brown <mr...@twdata.org> wrote:
> The solution is to do a mvn clean and build a fresh
> struts-annotations.jar.  In the meantime, I added the TLD back until we
> are sure this situation is resolved.

>From a clean checkout of the Struts 2.0.3 tag and a clean struts m2
repository, I don't see that the TLD is being generated.

-Ted.

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


Re: Struts 2.0.3 tag broken (was Re: struts-2.0.3-all.jar missing files?)

Posted by Don Brown <mr...@twdata.org>.
Ok, I think I understand the problem and solution now.  Rene removed the 
generated TLD from the source code, which generally wouldn't be a 
problem.  As part of his change, he moved the annotations into a new 
package and in the Struts 2 core module.

Unfortunately, when Ted went to build, he probably had an old copy of 
the struts-annotations.jar in his maven repository.  The old jar 
wouldn't know about the new annotations, so when executed, it didn't 
build a TLD.  Therefore, the Struts 2.0.3 tagged jar doesn't have the 
TLD file.

The solution is to do a mvn clean and build a fresh 
struts-annotations.jar.  In the meantime, I added the TLD back until we 
are sure this situation is resolved.

Don

Don Brown wrote:
> Ok, it looks like the change to move the tag annotations into core 
> yesterday broke the TLD generation, so the 2.0.3 jar is completely 
> missing the struts-tags.tld file.  In addition, it seems a new one 
> won't generate.  This absolutely has to be fixed ASAP.
>
> Don
>
> Don Brown wrote:
>> There shouldn't be a struts-2.0.3-all.jar.  Do you mean a 
>> struts-2.0.3-all.zip?
>>
>> Don
>>
>> Stuart Piltch wrote:
>>> Hi there,
>>>
>>> I just grabbed the latest struts-2.0.3-all.jar (19-Jan-2007 05:50) 
>>> to start
>>> testing some of the new features and I noticed that two files that I 
>>> expected to
>>> be in there are missing. One is META-INF/struts-tags.tld and the 
>>> other is the
>>> struts2-spring-plugin-2.0.3.jar
>>>
>>> Do I need to get these separately now?
>>>
>>> Cheers,
>>>
>>>  - stuart
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>
>>>
>>>   
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>


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