where/ how can I get the selenium server source code used to build 2.0b3 - selenium-webdriver

I am trying to apply this bug fix http://code.google.com/p/selenium/source/detail?r=11856 to the selenium-server-standalone-2.0b3.jar.
Does anyone know where I can get the source code? The jar only contains class files.
Or if there are alternate ways of getting what I need, please do tell.
Thanks,
-Denali

You should be able to check it out from SVN:
Use this command to anonymously check out the latest project source code:
Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://selenium.googlecode.com/svn/trunk/ selenium-read-only
I am not entirely sure how this project branches their code, but I assume it would be a branch in the project for a release.

Related

Why does System.IO.Compression.ZipFile.ExtractToDirectory() throw InvalidDataException on Artifact.zip from TeamCity?

I recently updated Jetbrains Team City to version 2020.2.2. I use it to build my project whenever I check code into my source repository. I use the TeamCity API to DownloadAll in order to retrieve an Artifacts.zip that contains all the files generated by the build.
The recent update has a bug in it which is corrupting the Artifacts.zip file that is downloaded.
I am now getting an InvalidDataException "A local file header is corrupt." when My program calls System.IO.Compression.ZipFile.ExtractToDirectory() on the Artifacts.zip file.
I am able to right click on this very same file and unzip it using the built in windows "Extract All" and also with 7-Zip extract to folder. No problems with those, but for some reason, my program throws the above exception.
I use the following command on the Team City API to get the file:
https://{myserver}/httpAuth/repository/downloadAll/{myrepository}/{buildId}:id/artifacts.zip
Does anybody know why this would have just started happening on February 1, 2021?
I wrote up a bug on the JetBrains Team City site describing the above problem. They responded this morning with a fix. This appears to have been introduced with TeamCity Enterprise 2020.2.2 (build 85899):
Please add an internal property: (Click blue link to the left for instructions on how)
teamcity.internal.artifacts.useZip64=false
We applied the above property, and the problem was immediately resolved. No reboot of TeamCity was necessary.
Here is a LINK to the bug/solution on the JetBrains TeamCity site.

Can the code under iOSPort be edited in a CN1 application?

I know how to debug and modify CodenameOne source in an app. That is described here
Can I do the same for the code under iOSPort? I am interested in testing a modified version of Ports/iOSPort/nativeSources/CodenameOne_GLAppDelegate.m. using a build hint to append code to the delegate is not an option since what I need to test is a change within an existing method.
I think a recent update broke something in it but the ticket I raised on GitHub isn't being replied to, so I'd like to see if I can propose a fix myself
When you use include source the full iOS port is included into the source and you can debug directly into the port. You can just copy and paste your changes into there and then debug these changes. Then copy and paste it back.
That's how we test changes to the port.

Wrong paths in Codename One preferences

When I need to input a path in Codename One preferences, for example to set up the icon or the certificates to use, I use the browse button. However the path that is then filled up in the associated field leads to the jre (java runtime environnement) folder instead of the parent folder of the file I selected.
Moreover the path is preceded by "file:" where it should not be there.
Here is an example to make it clearer :
As a workaround I manually paste the folder path where the file I want to use resides, and then paste it in the field. So as it is a little bit annoying, I was wondering if I could do something to make it work as it should ?
Please note : my setup involves Eclipse Mars running under Linux 64 with Oracle's Java 8 JDK.
Any help appreciated,
This seems to be related to this issue, I wasn't able to reproduce it in full although I did fix the file: prefix. The paths I got were correct despite all my attempts.
My only guess is that this might be an issue that affected an earlier version of the tool so I've added a version number to the title (1.13 in my current version). If this still happens in the next plugin update and the title of the preferences is 1.13 or newer I'd like to know.

Warning while adding primary output to the setup project

I'm trying to create setup for my project. I added the new project with "Setup . When I add primary output to the project, I got the following warning.
"The following files may have dependencies that cannot be determined automatically. Please confirm that all dependencies have been added to the project C:\Users\admin\AppData\Local\Apps\2.0\OPJL9CEH.K72\TOHQTNEM.N1Q\weba..tion_5eaf22060995d42c_0001.0000_b98a6abda035b9be\LeadTools\Ltocxu.ocx C:\Users\admin\AppData\Local\Apps\2.0\OPJL9CEH.K72\TOHQTNEM.N1Q\weba..tion_5eaf22060995d42c_0001.0000_b98a6abda035b9be\LeadTools\LtocxVariantu.dll
Please guide me to solve this problem.
Thanks in advance..
This warning is a "general" warning and not one that may necessarily stop the software from working. It only means that since OCX and DLL files are older technology, the new setup project may not be able to detect the dependencies for these files. You may want to check the LeadTools documentation or find the dependencies manually and add them to the distribution as required.
Again, since this is a general warning for the tool (setup project) itself and not your project specifically, even if you add any missing dependencies.
In this particular case, the warning might be valid. The old LEAD Main OCX (Ltocxu.ocx) did require additional DLLs to work. Some of them are directly linked as dependencies like the kernel and display DLLs (LtKrnu.dll and Ltdisu.dll).
Others are dynamically loaded if needed, such as file format DLLs.
You should be able to find full details in the topic "Files to be Included with Your Application" in LEADTOOLS help files for your specific version of the toolkit.

Where is my Cloud Source Repositories on Google

I am following the instructions on https://cloud.google.com/tools/android-studio/vcs. I push my code apparently successfully. But when I try to go see my code in the browser I cannot find
In the left navigation bar, select Source Code > Browse
Try Tools->Development->Source Code
As for as my knowledge goes, you could not see your uploaded source code in GAE console. I really appreciate that too, since as a owner you shall have the source code in your own development.
The reason might be more than that. However, GAE is providing option for downloading the source code from the GAE console.
Goto https://console.cloud.google.com/ Open Menu -> Tools -> Development
Use "Clone your Cloud Repository to a local Git repository" tab for downloading the code.
As a point of note, you could also disable the option of downloading the source code from the GAE. This is a better safer option, if you have good protection of your source code in your machine or somewhere.

Resources