Servoy 2022.3.0

Servoy announcements

Re: Servoy 2022.3.0

Postby jcompagner » Tue Apr 19, 2022 3:07 pm

so you can't click on "64 bit"?
for me that downloads it just fine.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8587
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2022.3.0

Postby mw » Wed Apr 20, 2022 1:50 pm

It's done. I realised, that you have to click at the bottom of the tile, not in the middle.
Monika Waser
om computer support ag, Switzerland
mw
 
Posts: 3
Joined: Wed Sep 16, 2015 1:09 pm
Location: 6330 Cham, Switzerland

Re: Servoy 2022.3.0

Postby steve1376656734 » Wed Apr 27, 2022 10:43 am

Does anyone know if there is a way to turn off the JAR version checking when exporting a WAR file. Servoy is flagging up an issue with JAR versions in a third party plugin (they have two JAR files with the same name but one is in a subdirectory) and we cannot now export a working version of our solution. The solution worked perfectly with the multiple JAR files on 2021.12 so should work with 2022.3 if we can just switch off the JAR checking temporarily!

Thanks
Steve
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 271
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: Servoy 2022.3.0

Postby jcompagner » Thu Apr 28, 2022 12:18 pm

you can't turn that off
but what goes wrong for you? Because what we output are just warnings.
Are you using smartclient an those jars are references in jnlps? (they need to be at the clients machine)?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8587
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2022.3.0

Postby steve1376656734 » Thu Apr 28, 2022 12:55 pm

The problem that we are having is that although these are warnings on the screen, the JAR files it considers as duplicates are not then included in the WAR file and don't appear in the plugins.properties file. This causes the plugin we are using to fail because the necessary JAR files are not there. What your code picks up as duplicates in the checkDuplicateJars() method of the WarExporter class are not really duplicates but seem to be just JAR files with the same name (but different contents).

We are speaking to the third party plugin provider to get this amended but cannot export a working WAR until this is done.
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 271
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: Servoy 2022.3.0

Postby jcompagner » Thu Apr 28, 2022 1:08 pm

so you have 2 jars with the same name (what jars are that)?
that also don't have the correct manifest entries? (like "Bundle-SymbolicName" or "Automatic-Module-Name") which are used by default (and jar name is just a fallback)
but those 2 jars are really completely different things?

can you just rename 1 jar then?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8587
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2022.3.0

Postby steve1376656734 » Thu Apr 28, 2022 1:21 pm

I tried doing the renaming of the JAR but I obviously got something wrong because the warnings went away but the JAR files were not included in the WAR. I think it may be something to do with the jnlp file but I am not a Java expert so not sure.

Having played around with it this morning I do have a (very dodgy) workaround for the moment. I export the WAR file which is then missing the JAR files, open it using WinZip, add in the missing JAR files, update the plugins.properties file to include the addtional JAR file details and then upload the amended WAR file. This works for now but is a VERY tedious process.
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 271
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: Servoy 2022.3.0

Postby emera » Thu Apr 28, 2022 1:29 pm

If you renamed the jar, then you also need to use the new name in the jnlp.
emera
 
Posts: 36
Joined: Tue Jun 17, 2014 8:33 am

Previous

Return to Announcements

Who is online

Users browsing this forum: No registered users and 1 guest