How to manually set the "default download" file in a Sourceforge project? - sourceforge

When I update some files on my Sourceforge projects, the last uploaded file is always automatically offered on the download page as the "Looking for the latest version? Download..." and it becomes the default download from the project's front page.
My problem is that, on one project, there is the main source tarball but I also have some optional code components that I want to add to the site. Whenever I add such optional component they become the "latest verison" of my app.
Is there a way to force a file to become the "latest version" of the app so that it stays the default download on the main project page?

If the wrong file is linked to Download button, you can change it by:
Click Files
Browse through the folders until you find your preferred file
Click the "i" icon at the right of the file's entry in the table of files
In the pop-up window, under the Default download for: heading, click Select All
Press Save
Give it a few minutes, refresh your project page and check the link

Related

How do I have a Headers folder in Code::Blocks?

I am using Code::Blocks 17.12 on Windows, and would like to create a folder to house the header files.
By default, when I create a console project, a Sources folder is created virtually (there isn't such a folder on disk, but it appears as such in Code::Blocks in the Management window's Project tab.
How do I create additional folders? When I right-click on the project (in the Management window's Project tab), I don't see a way to create a folder.
After Googling around for a bit, I came across this post, although dated 2009:
http://forums.codeblocks.org/index.php?topic=11365.0
Combining that answer with mine, these are the steps for creating a folder in Code::Blocks:
On your disk (i.e. outside of Code::Blocks), create your folders and add any existing files that you need to it. In my case I created an Includes folder and copied existing .h files into it.
Right-click on the project name in the Management windows' Project tab, and choose Project tree. Tick the Display folders as disk option.
Right-click on the project name again, and choose Add files recursively....
A dialog box appears. Navigate to your subfolder and click OK. Another dialog box appears asking you to select the files to add to the project. By default all the files in the subfolder are selected, so click OK.
The folder will appear in Code::Blocks, under a folder called Headers.
You will also need to add the folder(s) that you created outside of Code::Blocks to the compiler's search directories by clicking on Settings -> Compiler.... Then click on the Search directories tab, select the Compiler tab, then click Add.
In the dialog box that appears, click on the folder icon and navigate to your folder. Then click OK.

How can I config workspace in chrome?

I'm trying to activate workspace tool for my local project. I want to apply CSS changes on my codes when I edit them into browser.
I've added my folder, perfix url and path of my project to the Chrome like this:
But still there isn't any change in my codes when I change it into browser, What's wrong?
Here are the steps to map a local workspace to a server path, using my example:
Click "Add folder" in the Workspace settings, and navigate to your working directory. Click "Allow" in the bar at the top to grant Chrome permissions.
Add a mapping between your server and the path
Load the URL and navigate to the Sources tab. Open your file and start editing.
If you save with Cmd+S (Mac) / Ctrl+S (Windows / Linux), the changes will be persisted in the workspace.
You can read more information from the official documentation here, which shows how to add it directly from the Sources panel. Read the Limitations section, in case you are trying to do something that isn't supported.

toolbar button to upload to Netsuite? (in Aptana Studio 3)

I have Aptana Studio 3, build: 3.0.9.201202141038
I'm using it to edit some Netsuite client scripts (javascript). The netsuite plugin lets me upload scripts to netsuite, which is great, but I have to right click on the filename in the project explorer, pick "Netsuite" and then "Upload"... too many clicks.
What I want is one button to stick on the toolbar that will do the upload. Is this customization possible? Not that I'm lazy but when debugging it becomes a pain to do so much right-clicking.
In Eclipse/Aptana, the "Project Explorer" can do this. If you select a project and/or file within that project, the "Upload" buttons are made available IF you have set up a remote connection to that project.
I am not certain if your uploads/pushes to Netsuite are via FTP but, if they are, just add your remote connection to the project. To do this, expand your project folder the project in the Project Explorer view and then right-click on the Connections icon to add a new (FTP) connection.Once this is setup, any file selected in the Project Explorer can be uploaded with a simply button click from this view.
Not sure if that is exactly what you want but, in the meantime, might get you closer to it!
Hit ctrl+shift+; and the file will save and upload.

How do I get the resources folder back in Xcode 4?

The question says it all: where is the group and where is the "physical" folder?
So, to get the Resources group back, do this:
Right-click on your project icon in the navigation view on the left (blue icon).
Rename the group to "Resources."
That's it.
But what if you also want the Resources folder on your disk? Easy:
Open Finder.
Navigate to your project folder and create a new folder on the same level of the .xcodeproj directory, named "Resources".
Back in Xcode, select the Resources group and activate the "Utilities" view (all the way in the top right corner next to the Organizer icon).
Under the "Location" drop down box you see a small white-ish icon: Click it: A dialog called "Choose a directory this group represents" will come up.
Choose the Resources folder you created in step 2.
That's it. Now you can drag resources into the Resources group in Xcode and they will end up in the Resources folder on your disk.
I had the same problem by accidentally deleting the folder in the project.
For my environment (XCode v11), right click on the project in the project navigator and select "Add Files to ...
This will bring up your current project folder (if not, simply navigate to that directory) and then select the Assets.xcassets folder and click Add.
This will bring the assets folder back to your project.

Uploaded pictures not included in project

I have upload control on my asp.net page. I upload pictures in folder cars and they show in windows explorer when I open that folder (cars), but in Visual Sudio they act like they not include in project ( that is the reason why they don't show on image control which point to some of them. What did I make wrong ?
Uploading the images in the web application will never make any changes to your project. You will have to add them manually if you'll need them there. But generally these are pictures added by your user so the would just be in the file system - not really part of the solution, are they?
If you have choosen a webSITE then it will allow this, but not if a webPROJECT is selected.
I didn't find this on net, but I had two projects, and the one which was allowing me to show uploaded files was a website.
You have to click the refresh button at the top of the solution explorer in Visual Studio for it to show changes to the files.
You have to click Refresh button. Also ensure that "Show all files" icon is selected. And finally, you will have to right click on the files and select Include in Project. That way it would become part of your project.
If I may ask, what exactly are you trying to achieve in your application? The reason I ask is, if there is an upload happening in your application, you shouldn't need to include the files in your project to refer to it from code.

Resources