How to Automatically Upload Files to Google Code? - google-code

I'd like to upload files to my Google Code project automatically, e.g. using a custom NAnt task.
I'm aware of projects such as ant-googlecode, nant-googlecode, the Scripted Uploads Wiki, and this handy Python script. All of them seem out of date for the same reason -- they all use the same upload URL, which is no longer there:
https://yourproject.googlecode.com/files
(And they all seem to also use an obsolete authentication scheme using network credentials.)
If you know what the new URL is or any source of documentation (I haven't found it on the Google Project Hosting Wiki), please share it.

Related

VS 2019 extension to run resource generator on project load

We want to exclude the designer.cs files, generated from RESX files, from our repositories.
To achieve this, we need to make VS run the resource generator at project load (because the resource generation tool only runs when a RESX file is changed).
This triggers two questions:
Is there already an extension which does this (can't find one).
If not, which SDK class/event can I hook into so I can run the resource generator when a Project loads? (I appreciate I'm then going to have to iterate through the files in the project).
Is there already an extension which does this (can't find one)
We can search extensions in VS marketplace. Most of them for currently are for free. But it seems there's no such extension there to do behavior as you expected.
If not, which SDK class/event can I hook into so I can run the
resource generator when a Project loads? (I appreciate I'm then going
to have to iterate through the files in the project).
Maybe the event that you're looking for is IvsSolutionEvents3. The IVsSolutionEvents3.OnAfterLoadProject or IVsSolutionEvents3.OnAfterOpenProject method can help.
In addition: Topic about how to detect and manage solution and project loading see here.

Is it still possible to edit a document in google docs from alfresco share 4.2?

I have a 4.0.x binary installation of alfresco and have this menu highlighted below:
I have 2 custom installed 4.2.c versions and this option is missing. I have done the following to try and enable it as read from different parts of the web:
1) added the two following lines to both the share and the repo's alfresco-global.properties file
#enable GoogleDocs integration
googledocs.enabled=true
googledocs.googleeditable.enabled=true
2)Modified the share-custom-config.xml file in attempts to enable this and other google docs functionality.
So far this is the only thing missing. I am not sure whether this is a bug or whether I'm overlooking something else.
Yes, Google Docs integration works fine with Alfresco Community Edition 4.2.c. In fact, here is a video that shows you how to get it working:
http://www.youtube.com/watch?v=EbNDEp1KG1g
The video shows that the out-of-the-box installer will not create a working Google Docs integration due to changes on the Google side. So you need to reinstall the AMPs to both the alfresco and share wars as gagravarr mentioned above.
If you are using Google Docs integration in the repository folders (external to a Share site) you will need to install from head because there is a bug. If you are using the integration only within Share sites the latest released version of the integration, downloadable from the 4.2.c file list page, will be fine.

Starting a project on google code: where is download tab?

I started an open source project on google code. I've seen in other google code projects Downloads tab where I suppose to upload my files. I need to share a Liferay project and I prefer in this phase to share a zip/war file (Liferay bundles with source code): is it possible to do this? How it is possible to create Downloads tab? Do I need to use mercurial, svn or git also for this step?
I'm sorry, but Google Code no longer supports downloads for new projects. The download links you've seen are for older projects that were grandfathered in, but those projects also will no longer be able to create new downloads starting next January.

How to host and publish Alfresco WCM

I'm very new to Alfresco and trying to get hold of it. I'm using Community edition 4.2 and I've created one website using Alfresco Share and I did not imported Government/Finance website data. Below is the screenshot -
Now I've created two folders under Document Library tab and have uploaded few PDFs into that. It looks like below -
Now if I click on publish link then its saying that "There is no appropriate channel for this content".
I entered ubswcm as URL name while creating this site.
I followed the link http://docs.huihoo.com/alfresco/Getting-Started-with-WCM-for-Alfresco-Commumity-Edition-3.2.pdf which talks about stating but I could not find staging in this version of Alfresco 4.2.
My questions
How can I publish this content?
How can I run this website on localhost? Do I need to create war file? If so then please advice how to proceed on this.
http://:8080/wcmqs running fine. How can I build slimier site like this in http://:8080/ubswcm ? Please suggest if you have any tutorial on this.
Many thanks for your help!
You need to follow a tutorial on the Alfresco Web Quick Start capabilities. You should find that these capabilities are well-documented on docs.alfresco.com, e.g. Using Alfresco Web Quick Start.
Do not confuse Web Quick Start with the Social Publishing framework (which the Publish action is associated with) or with the legacy AVM-based WCM services (which I assume the PDF refers to, but I could not tell for sure as you link gives me a 404) that are no longer supported in Alfresco 4.

ASP.NET libraries/assemblies/dlls for creating, concatenating, and splitting PDF files in shared hosting environment

I have a requirement for a project that is hosted in a shared hosting environment, so we're unable to install or register any custom .NET libraries/dlls/assemblies, etc.
Is there a component that is natively available in IIS 7 that will allow us to create, concatenate, and/or split PDF files? Something like a Persits component, but that doesn't require any custom installation on the server?
Or, alternatively, is there a way to register assemblies (or libraries, or whatever you call them in ASP.NET--bit of a newbie, here) through code...?
You don't need to install anything on the server. You can just add the DLL to your bin folder and everything will work fine. If you are using Visual Studio, just right click the project --> Add Reference and browse to select the .NET library that you will use.
As far as the library itself, I used iTextSharp long time ago and it does offer everything you need as far as splitting, combining and creating PDFs on the fly. Here's the link to the library.
Lots of examples on how to use the library here.
Link to PDFSharp library, as suggested by jrummell (thanks!)

Resources