w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
   » Home » Project Status
Getting the project status from Msbuild & Using it in vs2010
Don't reinvent the wheel, use a build system that does everything you want (and more) for you. Look at Jenkins for example or TeamCity (see the image on the homepage of the latter: showing progress all over the place..) Definitely yes. Since VS2010 Visual studio itself uses msbuild to build your projects (since they are msbuild scripts as well). And in some upcoming version even the solution file will be an msbuild file.

Categories : C#

How can I remove SCM file status from the project drawer in Textmate 2
You can add scmStatus = false to your TextMate properties file (~/.tm_properties), that should do the trick. Source: TextMate's Github issue #1051: "Disable SCM badges".

Categories : GIT

How to get issues from a project that have status "in progress" using Redmine REST API
The documentation says there's a status_id parameter for list only issues for a given status id. Example: http://demo.redmine.org/issues.xml?project_id=16992&status_id=2 Tthe issue_statuses service can tell you what are the statuses codes http://demo.redmine.org/issue_statuses.xml You can set several search values for status with the following syntax: http://demo.redmine.org/issues.xml?f[]=status_id&op[status_id]=%3D&v[status_id][]=2&v[status_id][]=3 I have to admit it was not mentioned in the documentation, but I found it by setting the filters in the web interface, and than modify the url to call the webservice with the same parameters.

Categories : Api

how to create a status bar in dialogbox created using CreateDialog(..) there is no option existes for "Status Bar"
This MFC sample app adds a status bar to a dialog: http://msdn.microsoft.com/en-us/library/ccstww6w(v=VS.90).aspx

Categories : Api

Criteria or dynamic finder to retrieve like/unlike status of a status update item in grails
I am just throwing out an idea: user.like would give you all the likes of an user. status.like would give you all the likes of a status. Would you not be able to find out whether an user's like is also a status' like? You need to find out a Like which belongs to both User and Status.

Categories : Grails

ajax request returns status = 0 for submit event but works with status=200 for keyup event
You're not stopping the default action. It doesn't matter for the keyup event, but the form does get submitted (with an action="" to the same location so you're not really noticing it). On leaving the page, the runnning ajax requests get aborted and you see the status code 0. The problem is that you're invoking event.preventDefault(); from the ajax callback - it's too late then, all event-related actions have already been run. Move it to the first line of your addr.search function.

Categories : Javascript

saving twitter4J Status to MongoDB gives "twitter4j.Status is an interface, and JAXB can't handle interfaces"
You can use the @XmlElement annotation to specify an implementing class of the Status interface. @XmlElement(type=SomeStatusImpl.class) public List<Status> getStatuses() { return statuses; } For More Information http://blog.bdoughan.com/2011/05/jaxb-and-interface-fronted-models.html

Categories : Java

having sub status below main status
Would something like this be suitable? I used display:inline-block on the elements, then display:block on the "status" elements. I also moved the status elements to be children of the containers.

Categories : HTML

How did my Xcode project get changed from iOS project to an OSX project?
By your comment you should not have an issue navigating this. Go to your Project (in upper left) -> Project (project name in submenu) -> Build Settings -> under Architectures menu select Base SDK and choose iOS 6.1. This should switch your project back. Now under Info you should see your Deployment Target options have switched from saying OS X Development Target to iOS Development Target As for why it originally changed, I have no idea. But hopefully this will fix your issue.

Categories : Xcode

Project has no project.properties file! Edit the project properties to set one error
Why don't you do this Right click on Project Root folder > properties > Java BuildPath > Library Tab Check whether any of library is missing (showing error with red cross) if yes then add this library to your project don't forget to CHECK it on Order and Export Do one more thing Right click on Project Root folder > properties > Android > set your Project Build Target check any one target Check your Android-sdk path from Window > Preference > Android

Categories : Android

Duplicate Storyboard files appeared in Xcode project Directory. Barely able to run project
For each storyboard file name (or really any resource in Xcode) you should only have one source document with that file name. Resources with the same name are all mapping to the same output file, and you're seeing results of this undefined behavior resolve in various ways. So if you have this: ProjectRoot/Base.lproj/MyStoryboard.storybaord ProjectRoot/Folder/Folder/Base.lproj/MyStoryboard.storybaord Then both of those documents map to the same output file. You need to either delete the one at ProjectRoot/Base.lproj or the one at ProjectRoot/Folder/Folder/Base.lproj, but do not keep both documents.

Categories : Iphone

How to configure the Project ( depends on maven/web.xml/servlet APi) AJAX call not to include the Project name in it?
What worked for me is in the Pom.xml i added this <finalName>Jira-Synchronization</finalName> under the <build> tag and that was able to output the WAR with the desired name as i like

Categories : Java

How to make Visual Studio Setup Project to require but not include a given project output?
In VS 2010 in the solution navigator there is a small icon called "Launch Conditions editor". There you can search on the target machine for resources and create "Launch conditions" which binds your wanted message texts ("The file xx was not found...") against the property chosen for the resources.

Categories : Visual Studio 2010

Maven error: Failed to execute goal on project : Could not resolve dependencies for project
The first thing is you are having the wrong credentials for the repository ...(http://www.jets3t.org/maven2): Access denied to: http://www.jets3t.org/maven2/org/... Apart from that the repository does not look like Maven repository. And also the http://ericbottard.github.com/cloudfoundry-tomcat-7 gives a page not found which gives me the impression this is not a valid repository. Furthermore i would suggest first to use Maven Central only which means no repository entries in your pom.xml files which is the wrong way at all. Just check if it works without the repository definition. If you really need to define other repository better use a repository manager (Artifactory, Nexus, Archiva). One other thing is that i see in your pom the version which is a released versions already in c

Categories : Maven

Failed to import Gradle project error creating new project with Android Studio
I had same issue with the latest Android Studio () today, and I finally found that configuring a https proxy for Gradle can solve the issue. I only set a http proxy at the beginning. Gradle needs to sync some files via HTTPS. Use IP address instead if hostname of proxy can't work.

Categories : Android

How do I use a Java project that requires a 1.7 compliance level on an Android project build path?
Try to clean your project, and fix android properties. Link here and here

Categories : Android

Trying to create a project in a sub folder gives " overlaps the location of another project" error
1-Take for workspace "MyBook" 2-In eclipse, create a "Java project" ch-01. 3-right click on ch-01 , new, project "MyExampleApple" for each folder like ch-01 do number 2 and 3. :) This will create a subFolder in your Workspace and a project inside this subFolder. workspace subfolder project MyBook Ch-01 MyExampleApple :D

Categories : Java

Choosing the right project type and Windows Azure Services for SignalR ASP.NET project
Take a look at SignalR Scaleout - most likely, you want to develop your web application and deploy the web application to an Azure Cloud Service. The Cloud Service runs any number of instances behind a load balancer without any configuration on your part other than pointing your CNAME record to the Cloud Service. For the SignalR part, to make it scalable, you will want to use the Azure Service Bus Relay as a backplane for your SignalR implementation (again, load balanced without you having to woory lots about configuring/maintaining). The referenced example is a good start.

Categories : Azure

VC++ Winforms auto generated project won't debug VS2010: "This Project is out of Date"
The default VS settings are not entirely compatible with your desired one-click-does-all usage. C++ programmers normally favor building the program explicitly. Use Build + Build or press the shortcut keys for that command. You can change that. Use Tools + Options, Projects and Solutions, Build and Run. Note the "On Run, when projects are out of date" setting. Change it to "Always build". The one below that is best changed to "Do not launch".

Categories : C++

java servlet project and android library project in eclipse - NoClassDefFoundError
First of all - I believe Java Web Project will not work with any of Android specific classes due to many reasons. If your MonitoringModel contains some Java code that you want to share between Android and Web application you can extract it to separate Java project and use a Link Source option in Properties->Build Path to link it to both projects.

Categories : Android

Disable project migration dialogue when opening a SharePoint 2010 project
I've found how to manage this. Update your .csproj file for SP 2010 project. Set <TargetOfficeVersion>15.0</TargetOfficeVersion> So now it will not ask you for migration anymore when opening in SP 2013 machine. But you will not be able to build the project on 2010 machine. So you can put following code to the .csproj.user file: <PropertyGroup> ... <TargetOfficeVersion>14.0</TargetOfficeVersion> </PropertyGroup> The revision control system(like SVN or Git) is usualy configured to ignore .csproj.user files. So if this file is not ignored by revision control system - add it to ignore list. That's it. Everyone who opens a project on a SP 2013 machine will not see a migration dialog. Everyone who needs to work on SP 2010 - just update the

Categories : Visual Studio 2012

SBT: How to make one task depend on another in multi-project builds, and not run in the root project?
I may be wrong, but you are defining the verify task dependency only for the current project. Maybe you can try: Seq( verifyTask in Global := {}, verifyTask <<= (verifyTask in Global).dependsOn(scctTestTask, scalastyleTask) ) Or you can add the verifyTask settings to all your modules.

Categories : Scala

Intellij Idea's Project view doesn't show all project files
Most likely the project was imported into IDEA, but it's not a pure Java project. Note that non-Java projects cannot be imported from the existing sources using the Import option. You should create a new project, select the appropriate module type and then point to the existing directory with the code when creating the module. Other options are to import from Maven/Eclipse/Gradle. There is a known issue logged. If it's not the case, please share a sample project (zipped) that will reproduce the problem.

Categories : Intellij Idea

How do you include files from a scala project in eclipse in a java project in netbeans
If you are developing a library in your Scala application, i would suggest to use sbt and package the library as a jar and import that jar to your java project. You will have to define a build file in sbt. I am not sure whether you already defined it and use the sbt package command. sbt package Try using sbt

Categories : Java

Java reflection: How can I load a class from another project without adding that project or JAR to my classpath?
You need to implement a custom classloader, something like this Class<?> cls = new ClassLoader() { public java.lang.Class<?> loadClass(String name) throws ClassNotFoundException { byte[] a = read class bytes from known location return defineClass(name, b, 0, a.length); }; }.loadClass("test.MyClass");

Categories : Java

Getting error while running AppFuse project: "Failed to execute goal on project"
As you said you are using modular appfuse application. In appfuse modular application two module exists: core and web. Web module depends to core module. So you should first install the core module. Try this code in your core module directory: mvn install

Categories : Java

git pull/merge between base application project and specific client project
One approach is to have a "common" branch, that is ideally a product in its own right but can be just a base for different customizations. From that you branch off "client1", and make the changes. Same for other clients. Just the custom things. Do most work on the common, and keep merging it to all customized branches. If you can keep the custom stuff in a single commit (or just a few), you can instead keep rebasing those on top of common, that way is easier to look through. Which is better depends on the actual workflow and nature/amount of differences.

Categories : GIT

Eclipse: How to import git project as library for Android Project which has to be pushed to Bitbucket
If the library is a .jar file, you can simply paste it into the libs folder of your app. Android should automatically add it to the build path. As far as pushing/pulling from BitBucket goes, as long as you add the .jar file in git the library will be committed like any other file.

Categories : Android

why won't this richfaces demo project work in myeclipse web project with maven support
That's a dependency conflict for some google's library, probably guava or google collection. To fix it, you need to have a look into your dependency tree. As you're using myeclipse, open your pom.xml file and in the tabs below select the dependency hierarchy view. Then search for the dependencies I told you. There can be different problems: You're excluding a dependency for an artifact which needs it. Maven is resolving a conflict with new Google's dependency, but this method is in the old one and a third-party library you are using makes use of it. In this case you should try to update your third party library or downgrade the version of the one you're using by your own. For some artifact, you included a version of the API dependency and other version of the implementation. In this case

Categories : Java

Target "qnx" does not exist in the project "Build and deploy a Cordova BB Webworks project"
I think that as of Cordova 2.8 this may have changed. We're in the process of doing some new documentation updates for BlackBerry 10 right now. If you head on over to the Cordova 'Getting Started Guide' I think it'll get you moving in the right direction again. http://cordova.apache.org/docs/en/2.8.0/guide_getting-started_blackberry10_index.md.html#Getting%20Started%20with%20BlackBerry%2010

Categories : Cordova

NoSuchMethodError occuring in normal java project and not in J2EE project ( Eclipse)
NoSuchMethodError happens when you write code for one version of a class and then run it with another that does not have a the method that you use. From the documentation: Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method. Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed. Make sure that you have the same versions of the library that is giving the error in both environments. If the error is thrown for a method that you wrote yourself you have a mixture of classes from different builds. Try deleting all class files and doing a clean build.

Categories : Java

Why do I keep getting 'Assembly must be specified for XAML files that are not part of a project' errors in a local project?
Is the project ON a network drive? XAML has issues with projects stored on a network drive. In corporate environments your Documents are often remapped to a network path, causing this problem for the default project folder. Try like c:projectsyourprojecthere instead? WPF Project on a network share with clr-namespace

Categories : Wpf

Test Project in Visual Studio 2010 for a Windows Service Project
Do you want to debug the service or code that service runs? In the past I would create one project for a service, one project for a library that contains the logic, and one project for a console app that would be used to test and debug the logic locally. That setup covered most of the debugging needs. Hope this helps!

Categories : Visual Studio 2010

Visual Studio: Programmatically Create Project Items in project directory
That's roughly how I add my cpp file, should be no different in your case. The code will add the file under "SourceFilesSomeFolder" in the project and also in the "Source Files" folder in the project view tree (it should be already there). Project project = null; // you should get the project from the solution or as active project or somehow else string fileName = "myFileName.cpp"; string fileRelativePath = "SourceFiles\SomeFolder\" + fileName; // First see if the file is already there and delete it (to create an empty one) string fileFullPath = Path.GetDirectoryName(project.FileName) + "\" + fileRelativePath; if (File.Exists(fileFullPath)) File.Delete(fileFullPath); // m_applicationObject here is DTE2 or DTE2 string templatePath = (m_applicationObject.Solution as Solution2).Projec

Categories : C#

Double facebook sdk import, in my android library project and in target project
I faced the same problem, this is what i did. Hope it helps you too. Remove all the libraries in your project.(Properties->javaBuildPath->library(tab)->select dependancy folder->remove) Now go to libs and remove the library.(your project will show some errors, never mind) Finally import the library that contains the sub library.

Categories : Android

VS2012 Project Xaml reports cannot find namespace error, but project compiles fine
Try download the assembly from http://scsf2012.codeplex.com/Download/AttachmentDownload.ashx?ProjectName=scsf2012&WorkItemId=1&FileAttachmentId=630895 (the link can be found at http://scsf2012.codeplex.com/workitem/1 ). PS: just copied error message to google.

Categories : C#

Retrieve Jetty from Maven Central Repository as project dependency in IntelliJ IDEA Project
Check the dependency type. There are so called pom type of dependencies, which act as a list of other dependencies. To be able to fetch them, you have to mark them as pom dependencies in your pom.xml If you only need the server component, try searching for this string 'org.eclipse.jetty:jetty-server:9.0.3.v20130506'

Categories : Java

Eclipse Build Error "A class file was not written. The project may be inconsistent, if so try refreshing this project and building it"
We are using Eclipse here too and have to handle a workspace with more than 200 plug-ins. Every now and then people have similar problems with their workspace and inconsistencies reported in a weird way by Eclipse. What people here usually do is (next step only in case previous step didn't help): - trying to ContextMenu->Team->Clean/Refresh the whole workspace - creating a new workspace and check out all necessary files from the repository - reinstalling Eclipse to a new directory From my experience after using the Eclipse IDE on a daily basis for many years, it doesn't make very much sense to waste too much time with these issues, unless they aren't solved by one of the steps above. It takes too much time to struggle with these things, while starting from scratch is done in an hour or le

Categories : Eclipse

What's an easy way to convert legacy Java project with lots of jar libraries to maven project dependency list?
There's no magic bullet here. This will be a tedious manual trial-and-error task: Take your best guess as to the dependency version numbers Attempt to build If it builds, attempt to run it If you get errors, go back to step 1 and refine Once you get it done Maven should make it much easier going forwards.

Categories : Maven

Oracle SQL query: Finding the number of counts of similar objects between parent project and child project
The problem is solved: SELECT A.projectName as PARENT, (select COUNT(*) from PSPROJECTITEM WHERE PROJECTNAME = A.PROJECTNAME) parentprojecount, B.ProjectName as CHILD, (select COUNT(*) from PSPROJECTITEM WHERE PROJECTNAME = B.PROJECTNAME) CHILDPROJECT, (select COUNT(*) from PSPROJECTITEM where PROJECTNAME = B.projectname AND objecttype IN ( SELECT c.OBJECTTYPE FROM PSPROJECTITEM c WHERE c.PROJECTNAME = 'AAAA_JOB_KJ') AND objectid1 IN ( SELECT c.OBJECTID1 FROM PSPROJECTITEM c WHERE c.PROJECTNAME = 'AAAA_JOB_KJ') AND objectvalue1 in ( SELECT c.objectvalue1 FROM PSPROJECTITEM c WHERE c.PROJECTNAME = 'AAAA_JOB_KJ') AND objectid2 in ( SELECT c.objectid2 FROM PSPROJECTITEM c WHERE c.PROJECTNAME = 'AAAA_JOB_KJ') and objectvalue2 in ( SELECT c.objectvalue2 FROM PSPROJECTITEM c WH

Categories : Mysql



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.