Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-04-21 Thread Lukasz Lenart
Here is a list of all Milestones https://cwiki.apache.org/confluence/display/WW/Migration+Guide#MigrationGuide-VersionNotes7.x śr., 28 lut 2024 o 09:15 Greg Huber napisał(a): > > selecting "Maven > Disable Workspace Resolution" > > I need eclipse to build the target/classes folder otherwise I can

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-28 Thread Greg Huber
selecting "Maven > Disable Workspace Resolution" I need eclipse to build the target/classes folder otherwise I cannot run tomcat. Hopefully this will be fixed once the *-jakarta.jars are released as they are not snapshot? On 28/02/2024 00:01, James Dyer wrote: I agree the best l

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-27 Thread James Dyer
Just as a clarification, Struts 7.x is targeting Jakarta EE 9/10. On 2024/02/24 08:46:41 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 problem

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-27 Thread James Dyer
I agree the best long-term solution to this problem is to move the "*-jakarta" subprojects so they are not children of the parent pom. That way, when you import your projects into your IDE, these projects will not be automatically imported with everything else. Having them in a separate repo c

Re: [EXTERNAL] [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-26 Thread Burton Rhodes
pful. -Original Message- From: Lukasz Lenart Sent: Saturday, February 24, 2024 3:47 AM To: Struts Developers List Subject: [EXTERNAL] [TEST] Apache Struts 7.0.0-M3 test build is ready [You don't often get email from lukaszlen...@apache.org. Learn why this is important at https://aka

RE: [EXTERNAL] [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-26 Thread Houser,Leah
, 2024 3:47 AM To: Struts Developers List Subject: [EXTERNAL] [TEST] Apache Struts 7.0.0-M3 test build is ready [You don't often get email from lukaszlen...@apache.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Hello, This is a third milestone of Strut

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-26 Thread Greg Huber
This fixes it, seems it needs the getOriginalName() rather than getName()? org.apache.struts2.dispatcher.multipart.AbstractMultiPartRequest original public String[] getFileNames(String fieldName) {     return uploadedFiles.getOrDefault(fieldName, Collections.emptyList()).stream()

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-26 Thread Lukasz Lenart
pon., 26 lut 2024 o 08:50 Greg Huber napisał(a): > > Why does it work then for the other artifacts? > > > org.apache.struts > struts2-freemarker-jakarta > ${project.version} > > > org.apache.struts > s

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-26 Thread Greg Huber
The old version.  The pom change to snapshot worked so I will have a look now. On 26/02/2024 06:26, Łukasz Lenart wrote: niedz., 25 lut 2024 o 09:42 Greg Huber napisał(a): Testing the file upload and it now does not work. I get an error where its using the wrong file name ie upload5549a568d9

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-25 Thread Greg Huber
Why does it work then for the other artifacts?     org.apache.struts struts2-freemarker-jakarta     ${project.version}             org.apache.struts     struts2-core     ${project.version}            

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-25 Thread Lukasz Lenart
niedz., 25 lut 2024 o 11:57 Greg Huber napisał(a): > > Also building in eclipse I get these strange errors > > Missing artifact org.apache.struts:struts2-freemarker-jakarta:jar:7.0.0-M3 It's because the artifacts are transformed during build and the IDE doesn't see them. Here is an example how to

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-25 Thread Łukasz Lenart
niedz., 25 lut 2024 o 09:42 Greg Huber napisał(a): > > Testing the file upload and it now does not work. > > I get an error where its using the wrong file name ie > upload5549a568d9794ef5b654da83d07961350045.tmp rather than the > actual file name. Which file upload do you use? Old FileuploadI

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-25 Thread Greg Huber
Also building in eclipse I get these strange errors Missing artifact org.apache.struts:struts2-freemarker-jakarta:jar:7.0.0-M3 Missing artifact org.apache.struts:struts2-velocity-tools-jsp-jakarta:jar:7.0.0-M3 Missing artifact org.apache.struts:struts2-velocity-tools-view-jakarta:jar:7.0.0-M

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-25 Thread i...@flyingfischer.ch
May be related to this issue in Struts 1: https://github.com/weblegacy/struts1/issues/28 Best regards Markus Am 25.02.24 um 09:41 schrieb Greg Huber: Testing the file upload and it now does not work. I get an error where its using the wrong file name ie upload5549a568d9794ef5b654da83d079613

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-25 Thread Greg Huber
Testing the file upload and it now does not work. I get an error where its using the wrong file name ie upload5549a568d9794ef5b654da83d07961350045.tmp rather than the actual file name. I put back the mods I did, and it still does not work. Were there any other changes? I did not test M2

[TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-24 Thread Lukasz Lenart
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_