Where to find SubSonic 2.2 Source Code? - subsonic

I'm a bit confused on where to find the most up-to-date copy of SubSonic 2.x, after following the links I think it's here: http://github.com/subsonic/SubSonic-2.0 on GitHub, but I don't see anything showing it's 2.2+ versus something lower like 2.0 or 2.1. Can somebody confirm that GitHub has the most up-to-date version of SubSonic 2.x, I just want to make sure I'm tweaking the latest version of 2.x.

Yes, github has the latest version of the version 2 source.

Here is the link where you can download subsonic version 2 till 2.2.
https://github.com/subsonic/SubSonic-2.0/downloads

Related

Upgrading to JSF 2.4

I'm trying to upgrade from JSF 2.2 to 2.4 in Netbeans 11.0.
I downloaded the binaries and added it as a new library:
But when I look into the properties of my project, I still see the old JSF versions 1.2 and 2.2:
Is adding it as a Maven dependency the only way to upgrade? I wanted to upgrade it globally, for all (future) projects.
I'm using Java EE 8 with Payara Server 5.192.
JSF 2.4 does not exist as an official API at all. Do not use it. Currently latest official version is 2.3 and the next one will be 3.0 which will be released as part of Jakarta EE 9 (which is essentially exactly the same as 2.3, but then with the package renamed from javax.faces to jakarta.faces).
See also the blog article Do not use org.glassfish Mojarra 2.4.0! written by yours truly.
No, JSF 2.4 is not there yet. Technically speaking, Mojarra 2.4.0 represents the latest state of the master branch as it was during the transfer from Oracle to Eclipse. That transfer took place when JSF 2.3 specification was already released and JSF 2.4 specification has still to be started yet. JSF 2.4 is far from being a beta, let alone a reasonable snapshot. And yet there is a Mojarra 2.4.0 in Maven instead of e.g. a Mojarra 2.4.0-M1. As per the agreement between Oracle and Eclipse, it was necessary to release the latest work on Mojarra under Oracle's umbrella into Maven Central before the transfer to Eclipse was completed. And later Eclipse will do the same after the transfer is completed so that the integrity can be validated by the public. Using version "2.4.0" is indeed way too confusing for the public, because does actually not at all represent a real "2.4.0" version, but it is what it is.
As to your specific problem with Netbeans, you need to upgrade it to see "JSF 2.3" as an option in its built-in dropdown. Alternatively you can also just ignore it and write JSF 2.3 targeted code yourself instead of letting the IDE autogenerate it. That's basically what that "JSF 2.3" option is doing. Autogenerating the suitable JSF 2.3 faces-config.xml file and such. But you as a programmer of course can easily write code yourself based on official documentation.

How to access primefaces' previous version showcase

I was using primefaces 5 for an app, and now I need to do some modifications, but in the showcase page I can only access version 6, which is not compatible with my version. every time I tested a component I get this error :
Tag Library supports namespace: http://primefaces.org/ui, but no tag was defined for name:
Can anyone help ??
PS: I cannot migrate to version 6
EDIT
version of primefaces that I use is 5
Solution
for those who face the same problem here is the link to download any showcase version.
download it and follow the read me .
PrimeFaces did not keep track (tag) of versions of the showcase before the 5.0 release. The earliest commits in GitHub are of April 2014 and version 4 was released in October 2013.
Before that, Googlecode was used and they migrated the code AND history from 'svn' to github. That code is in https://github.com/svn2github/primefaces-showcase, where you can easily go back to October 2nd 2013 where the 4.0(-SNAPSHOT) was updated to 4.1(-SNAPSHOT).
Browsing the repository for that version (or downloading it!) is possible. Might be that you need to go 1 commit back but be creative... it is still all there.
I was looking for it too, and I've found it here:
https://pseudohub.de/primefaces-5.3-showcase
https://primefaces.zeef.com (see Primefaces showcases section)

Download source for Subsonic 2.2

Is there a place where I can get the source code for Subsonic 2.2? The closest I can find is subsonic 2.1.1. I have the Subsonic 2.2 .dll, but need the source code, for policy purposes....Thanks.
SubSonic 2's hosted on github. You can find it here
You could use .NET Reflector to generate source code from a .NET assembly, although grabbing the latest source from github is probably the better solution.

is Subsonic 3 compatible with the latest release of Mono?

The latest stable release of Mono right now is 2.4.2.3. Does subsonic 3 work with it? I know Mono isn't compatible with all .net 3.5 features yet, but I'm presuming compatibility depends on which specific language features of .net 3.5 Subsonic uses. Does anyone know for a fact whether it's compatible?
Its compatible - just remember to use an actual version of MySQL connector, if planning to use MySQL.
And there is an Error in current SubSonic (see Issue 111). Change IsDbNull to IsDBNull in SubSonic.Core/Linq/Structure/ExecutionBuilder.cs and recompile.
That did it for me with Mono 2.6 and MySQL-connector 6.2.2
But I didnt't test anything but simple save and read queries.
from the looks of the code not everything seems to be full hilt 3.5 so i would cast an opinion that it will be just fine, i have been using 3.0.0.3 and resharper comes up with tones of comments about how it can be changed and upgraded.
but it takes less than 5 mins or so to test, so i would go ahead if i was you, you dont really have much to loose other than 5-10 mins.
hope this helps

Old versions of Sub Sonic

I am working on an opensource app that using SubSonic 2.0.3
I need to regenerate some of the code so I need the tool that does that.
I cannot find this version 2.0.3 of the code generator executable.
Any help would be greatly appreciated!
If you were just using ActiveRecord, there isn't that much difference (to my knowledge) between 2.0.3 and 2.2 so you could download and use 2.2 to update. With all the bug fixes in 2.2 from 2.0.3 I think it would be worth the effort.
Looks like the old codeplex hosting for subsonic is gone.
They haven't tagged any specific versions in the new github repository, but I bet that if you downloaded the 2.0 source you'd be able to get what you need.
http://github.com/subsonic/SubSonic-2.0/tree/master

Resources