I am trying to set up Coverity Scan for my Open Source project. I can produce a local build and upload it fine, all of that works. But I am unable to create components using Coverity's web UI.
I tried adding components under the project's analysis settings. When I add a component, it shows up in the table, but when I click on "Save Changes", the page reloads and the component I just created is gone. The following screenshot illustrates what I see right before clicking on "Save Changes":
I could not find anyone else having this problem when I searched for it. Coverity has a video tutorial explaining how to set up components, but they do it using the Connect System UI, and the option to add components is not present for me there.
Related
I am running my project locally, where I can see view.xml file and can debug it using breakpoint.
However, when I try to open same file in debugger in my online system, it does not show me this file. Is there any way I can access this file, same way I can locally?
there are 2 ways you can access all the files of project.
1) put this tag in your URL, and reload the page sap-ui-debug=true. This will access all the files inside your project.
Like fiorilaunchpad.html?sap-client=100&sap-ui-debug=true
2)
Press CTRL+ALT+SHIFT+P. This will open Technical Information Dialog box. There, tick "Use Debug Sources"
When Prompted, press OK
Step 2 will make app loading slower since it try to access all the resources inside the project.
right now we are using svn to share code for our force.com/visualforce project. It works great controllers, components, pages and static resources.
The problem is it seems the salesforce.schema file is not really a local file, its a placeholder that checks your server and tells you your current schema.
We want to baseline our schema changes/updates to a file so we can share in svn.
I found this:
http://boards.developerforce.com/t5/General-Development/Custom-Objects-in-Force-com-IDE/td-p/445363
But we cant seem to figure out what do do/how to get it to work.
So in a nutshell, we are looking for a way for Developer A to create a custom schema object in their own SF Sandbox, somehow get this info into a file in svn (ideally through the force.com ide), then check it in so developer B can check it out and apply it to their server. (the same way we do for code).
Any help would be great!
thanks
Joel
Ok, we finally figured this out through trial and error:
To make this work:
right click on project, click "Force.com/Add Remove Metadata Components"
go down to custom ojbjects, open that up, make sure all your custom objects are checked, click apply, then say "NO" to dialog
then right click on src and click "Force.com/Syncronize with Server, find your objects, and click "Apply Server to Project"
now your files will be local, check them into SVN and you are golden.
I am having tough time to figure out debugging UI parts of Eclipse. I couldn't find any information on google (or) Eclipse web site.
All I wanted to do is to find out the code that gets executed when we double-click a file in project explorer to open the file in Editor.
I tried to bring up Eclipse source code from Plug-ins view -> right click on the plugins -> import as Source Project. But, I am unsure what are all the components that constitutes to the UI part. I get some weird errors when I try to import everything that's found in plug-ins view.
Where can I find the information related to debugging Eclipse source code?
Instead of using Plug-ins->Import as Source Project, I would recommend opening the Plug-ins view, selecting all plug-ins, right click, and Add to Java Search.
Then you can use Open Type Ctrl-Shift-t to search for class names and the source will be attached so you can read it, set breakpoints, and debug.
In your case, I think you want to investigate IWorkbench, IWorkbenchWindow, and IWorkbenchPage. The openEditor(*) methods on IWorkbenchPage will be of particular interest.
You may also want to take a look at the org.eclipse.ui.editors and org.eclipse.core.contenttype.contentTypes extension points.
I'm using MS's VWD to edit some .aspx files in our website (I'm opening it as a website, not a project/solution).
I have some temporary files just for testing and some generate Build errors in VWD 2010.
But VWD won't let me "run" other pages in the website with those Build Errors present.
Is there a way to get it to IGNORE them?
Im using Visual web developer express,
but assume the the settings are the same.
click on TOOLS on the MENUBAR
click on OPTIONS when the TOOLS menu drops down
click on SHOW ALL SETTINGS when the OPTIONS window appears
click on PROJECTS AND SOLUTIONS in the LEFT hand panel
click on BUILD AND RUN in the projects and solutions drop down
in the rigt hand panel, look for the text "On Run, when build or deployment errors occur:"
change it to "PROMPT TO LAUNCH"
click OKAY button to save changes
Voila.
This is my first attempt at an Eclipse plugin- the plugin architecture is vast and a little overwhelming, but I've found a number of tutorials and how-to's online which is helping, but trying to do the following is driving me nuts:
I want to add a submenu item that is available in the navigator context menu when you right click on an Eclipse project.
I can get a submenu to appear on a project file or folder, but absolutely no idea how to have it appear on a project.
Would someone be so kind as to provide me with step by step instructions, starting with creating a new plugin-project? This is probably a lot to ask, but I can't seem to find an online guide that has just the right amount of detail. I specifically want to use the plugin-project wizard rather than hand code a plugin.xml file as I am not very familiar with the Eclipse plugin architecture.
Ok- I got it- it was simple, but I got lost in the noise of the API-
Create a new Plug-in Project using the Plugin-Project Wizard and when the wizard has launched...
1.
On the Plug-in Project page, use anything as the project name and 3.5 as target platform eclipse version
2.
On the Content page, skip ahead and just press next
3.
On the Templates page, select "plug-in with a popup menu" and press next
4.
On the Sample Popup Menu page, you will see that eclipse has prefilled the field
"Target Object's Class" with a value of "org.eclipse.core.resources.IFile".
This means that when your popup menu will only appear when you right-click on a file in
a project. As we want the menu to appear when we right click on a Project when
we are using the Navigator view, simply use "org.eclipse.core.resources.IProject" instead
5.
Finish
You can validate that your pop-up will appear as expected by right-clicking the MF file
and "Run-as" > Eclipse Application
Now to refactor the resulting code to use menuContributions and commands rather than objectContributions and actions :)
I think you have a similar question (menu in the package explorer) here:
Renaming packages in Eclipse (thanks to Rich Seller)
This could be a good start, and is a complete plugin project.
You should look into the Eclipse Common Navigator Framework there are a few tutorials on this side that tell you what to do in detail The Project Explorer is an implementation of the CNF. You should also consider using the Platform Commands to add your commands (and popup menu item) to the popup menu associated with the project explorer. It's somewhat easier to use commands than actions. You should be able to do it with by adding a Command in your plugin extensions. Unfortunately off the top of my head I don't know the right incantation to have the command appear in the project explorer. But you will be able to find it in these resources.