Re: [TEST] Apache Struts 7.0.0-M6 test build is read

2024-04-22 Thread Lukasz Lenart
pon., 22 kwi 2024 o 10:35 Greg Huber  napisał(a):
> File upload also works OK, but Without the  in UploadedFile now I must 
> do the cast manually:
>
> for (UploadedFile uploadedFile : uploads) {
> ...
>new FileInputStream((File) uploadedFile.getContent())
> ...
> }

I need to think this through as I was planning to support pure
streaming of files directly into action, yet maybe this would require
using a new type `StreamFileUpload` instead of having a generic type.


Cheers
Lukasz

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



Re: [TEST] Apache Struts 7.0.0-M6 test build is read

2024-04-22 Thread Greg Huber

7.0.0-M7-SNAPSHOT

Thanks it worked, maybe it was a timing thing as they are in snapshots now.

M7 works ok.

File upload also works OK, but Without the  in UploadedFile now I must do 
the cast manually:

for (UploadedFile uploadedFile : uploads) {
...
  new FileInputStream((File) uploadedFile.getContent())
...
}

On 22/04/2024 05:45, Lukasz Lenart wrote:

niedz., 21 kwi 2024 o 20:11 Greg Huber  napisał(a):

I run my ide directly from git, and it is the struts project that won't
build.  I was following the previous modification changing the struts pom
3x -jakarta entries which was previously 7.0.0-M3-SNAPSHOT and it worked
then ok.

So you can use 7.0.0-M7-SNAPSHOT instead, but also any other SNAPSHOT
version should work
https://repository.apache.org/content/groups/snapshots/org/apache/struts/struts2-freemarker-jakarta/

Cheers
Lukasz

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



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



Re: [TEST] Apache Struts 7.0.0-M6 test build is read

2024-04-21 Thread Lukasz Lenart
niedz., 21 kwi 2024 o 20:11 Greg Huber  napisał(a):
>
> I run my ide directly from git, and it is the struts project that won't
> build.  I was following the previous modification changing the struts pom
> 3x -jakarta entries which was previously 7.0.0-M3-SNAPSHOT and it worked
> then ok.

So you can use 7.0.0-M7-SNAPSHOT instead, but also any other SNAPSHOT
version should work
https://repository.apache.org/content/groups/snapshots/org/apache/struts/struts2-freemarker-jakarta/

Cheers
Lukasz

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



Re: [TEST] Apache Struts 7.0.0-M6 test build is read

2024-04-21 Thread Greg Huber
I run my ide directly from git, and it is the struts project that won't
build.  I was following the previous modification changing the struts pom
3x -jakarta entries which was previously 7.0.0-M3-SNAPSHOT and it worked
then ok.




On Sun, 21 Apr 2024 at 12:10, Lukasz Lenart  wrote:

> niedz., 21 kwi 2024 o 11:12 Greg Huber  napisał(a):
> >
> > Using 7.0.0-M6 I still get
> >
> > The POM for org.apache.struts:struts2-freemarker-jakarta:jar:7.0.0-M6 is
> > missing, no dependency information available
>
> Do you specify "struts2-freemarker-jakarta" as a seperated dependency?
> Or is it just "struts2-core" in your pom?
>
> Regards
> Lukasz
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>


Re: [TEST] Apache Struts 7.0.0-M6 test build is read

2024-04-21 Thread Lukasz Lenart
niedz., 21 kwi 2024 o 11:12 Greg Huber  napisał(a):
>
> Using 7.0.0-M6 I still get
>
> The POM for org.apache.struts:struts2-freemarker-jakarta:jar:7.0.0-M6 is
> missing, no dependency information available

Do you specify "struts2-freemarker-jakarta" as a seperated dependency?
Or is it just "struts2-core" in your pom?

Regards
Lukasz

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



Re: [TEST] Apache Struts 7.0.0-M6 test build is read

2024-04-21 Thread Greg Huber

Using 7.0.0-M6 I still get

The POM for org.apache.struts:struts2-freemarker-jakarta:jar:7.0.0-M6 is 
missing, no dependency information available



#Sun Apr 21 10:00:20 BST 2024

apache.snapshots|https\://repository.apache.org/snapshots|javadoc=1713690020922

central|https\://repo.maven.apache.org/maven2|sources=1713690019219

central|https\://repo.maven.apache.org/maven2|javadoc=1713690020922

apache.snapshots|https\://repository.apache.org/snapshots|sources=1713690019219

The jars are in staging?

https://repository.apache.org/content/groups/staging/org/apache/struts/struts2-freemarker-jakarta/7.0.0-M6/


On 20/04/2024 14:25, Lukasz Lenart wrote:

sob., 20 kwi 2024 o 13:20 Burton Rhodes  napisał(a):

It should be

7.0.0-M6

I released M4 & M5 but there was a problem with standalone ZIP
packages, so I had to prepare another release. I think it would be
good to push this into Maven Central to allow others to test it as
well.


Regards
Lukasz

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


Re: [TEST] Apache Struts 7.0.0-M6 test build is read

2024-04-20 Thread Lukasz Lenart
sob., 20 kwi 2024 o 13:20 Burton Rhodes  napisał(a):
>
> It should be
>
> 7.0.0-M6

I released M4 & M5 but there was a problem with standalone ZIP
packages, so I had to prepare another release. I think it would be
good to push this into Maven Central to allow others to test it as
well.


Regards
Lukasz

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



Re: [TEST] Apache Struts 7.0.0-M6 test build is read

2024-04-20 Thread Burton Rhodes

It should be

7.0.0-M6

-- Original Message --

From "Greg Huber" 

To "Struts Developers List" 
Date 4/20/2024 5:11:19 AM
Subject Re: [TEST] Apache Struts 7.0.0-M6 test build is read


What would be the pom fix value we need to use?

7.0.0-M6-SNAPSHOT



org.apache.struts

struts2-velocity-tools-view-jakarta

7.0.0-M6-SNAPSHOT



On 20/04/2024 08:45, Lukasz Lenart wrote:

Hello,

This is a third milestone of Struts 7.x series, which is based on
JakartaEE 6. Please take the time and test the bits - any help is
appreciated. Please report any problems you will spot.

Here are the changes from the previous version:
https://github.com/apache/struts/releases/tag/STRUTS_7_0_0_M6

Staging Maven repo
https://repository.apache.org/content/groups/staging/

* please read our guideline how to setup your Maven build to include
the Staging repository
https://struts.apache.org/builds.html#test-builds

Standalone artifacts
https://dist.apache.org/repos/dist/dev/struts/7.0.0-M6/

Release notes
https://cwiki.apache.org/confluence/display/WW/Version+Notes+7.0.0-M6


Have fun!
Łukasz

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



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



Re: [TEST] Apache Struts 7.0.0-M6 test build is read

2024-04-20 Thread Greg Huber

What would be the pom fix value we need to use?

7.0.0-M6-SNAPSHOT



org.apache.struts

struts2-velocity-tools-view-jakarta

7.0.0-M6-SNAPSHOT



On 20/04/2024 08:45, Lukasz Lenart wrote:

Hello,

This is a third milestone of Struts 7.x series, which is based on
JakartaEE 6. Please take the time and test the bits - any help is
appreciated. Please report any problems you will spot.

Here are the changes from the previous version:
https://github.com/apache/struts/releases/tag/STRUTS_7_0_0_M6

Staging Maven repo
https://repository.apache.org/content/groups/staging/

* please read our guideline how to setup your Maven build to include
the Staging repository
   https://struts.apache.org/builds.html#test-builds

Standalone artifacts
https://dist.apache.org/repos/dist/dev/struts/7.0.0-M6/

Release notes
https://cwiki.apache.org/confluence/display/WW/Version+Notes+7.0.0-M6


Have fun!
Łukasz

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