My team has recently begun using XMind to organize development projects. It seems to be a pretty powerful brainstorming software. I'm just wondering if other developers have employed similar techniques to aid in documenting software design.
I used to just upload asp.net websites to the live server, and IIS compiles them automatically.
But when I do the same with asp.net MVC projects I just get errors, and I need to release Build the project before I upload it.
Note1: I'm using VWD 2008 Express
Note2: The project is working perfectly if I release build it on my machine then upload to the server
OK, so I have two tables I'm working with - project and service, simplified thus:
project
-------
id PK
name str
service
-------
project_id FK for project
time_start int (timestamp)
time_stop int (timestamp)
One-to-Many relationship.
Now, I want to return (preferably with one query) a list of an arbitrary number of projects, sorted by the total amount of time spent at them, which is found by SUM(time_stop) - SUM(time_start) WHERE project_id = something.
So far, I have
SELECT project.name
FROM service
LEFT JOIN project ON project.id = service.project_id
LIMIT 100
but I cannot figure out how what to ORDER BY.
Is there any way to exclude a category from wp_get_archives? I'm trying to show the months in the sidebar, but I want to exclude the posts that are not blog entries.
$catID = get_cat_id('Projects');
$variable = wp_get_archives('type=monthly&show_post_count=1);
echo $variable;
I have 3 versions of Visual Studio installed, and 3 projects that require a specific version. VSLauncher USED to look at the SLN or VCPROJ file and open the correct version of Visual Studio. Now it only starts the most recent version, regardless of the project.
Note that this has nothing to do with the commonly reported problem with beta versions of VS. none of the SLNs have ever been touched by a beta VS.
I've just noticed that whenever I do an incremental compile (ctrl-F9) of any of my Delphi 2010 projects, all JEDI units referenced in my project are recompiling although they have not been changed in any way. In fact, if I create a new project, drop a JEDI control on the form and compile, I see all JEDI dependencies getting recompiled. If I think hit ctrl-F9 a second time without making any changes in my project, the same thing happens.
Anyone know what's causing this?
After a week of asp.net mvc2, I still haven’t understood the advantages of ViewData.model or rather how I can properly utilize Viewdata. Can some teach me how to use Viewdata properly?
Also what’s TModel that’s associated with viewdata? How does one utilize TModel? The viewdata explanation in spark view engine talks about TModel and I couldn’t get a clue of how I can use it in my projects. Can someone help me?
On the following URL are some icons I'd like to use in a website for a client. This would be commercial work.
The site says "free for public use", what is public use and can I use them in commercial works?
http://somerandomdude.com/projects/iconic
I checked the license at:
http://creativecommons.org/licenses/by-sa/3.0/us/
and there it says "free cultural works".
Can anyone clear this up?
I have a .ico that I want to add to several class library DLL projects, using Visual Studio Pro 2008. For each project, I added the ico, set the built type to 'embedded resource' and set the icon in the project prefs page. Still the icon is the default.
What did I miss?
Thanks.
I have an initial migration that sets up two tables (users and projects), with a relationship (innoDB).
$table->foreign('user_id')->references('id')->on('users');
I have two Eloquent models set up, blank except for the relationship:
return $this->has_many('Project');
Do i definitely need to tell eloquent about the relationship in the models and the database? I'd assumed something as comprehensive as Laravel would infer it from the Schema? Is there something I'm missing?
I'm trying to get NHProf reports on my integration tests as a report in TeamCity
I'm not sure how to get this set up correctly and my first attempts are unsuccessful.
Let me know if there is any more information that would be helpful...
I'm getting the following error, when trying to generate html reports with MSBUILD (which is being run by TeamCity)
error MSB3073: The command "C:\CI\Tools\NHProf\NHProf.exe /CmdLineMode /File:"E:\CI\BuildServer\RMS-Winform\Group\dev\NHProfOutput.html" /ReportFormat:Html" exited with code -532459699
I tell TeamCity to run MSBUILD w/ CIBuildWithNHProf target
The command line parameters that I pass from TeamCity are...
/property:NHProfExecutable=%system.NHProfExecutable%;NHProfFile=%system.teamcity.build.checkoutDir%\NHProfOutput.html;NHProfReportFormat=Html
The portion of my MSBUILD script that runs my tests is as follows...
<UsingTask TaskName="NUnitTeamCity" AssemblyFile="$(teamcity_dotnet_nunitlauncher_msbuild_task)"/>
<!-- Set Properties -->
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<NHProfExecutable></NHProfExecutable>
<NHProfFile></NHProfFile>
<NHProfReportFormat></NHProfReportFormat>
</PropertyGroup>
<!-- Test Database -->
<Target Name="DeployDatabase">
<!-- ... -->
</Target>
<!-- Database Used For Integration Tests -->
<Target Name="DeployTestDatabase">
<!-- ... -->
</Target>
<!-- Build All Projects -->
<Target Name="BuildProjects">
<MSBuild Projects="..\MySolutionFile.sln" Targets="Build"/>
</Target>
<!-- Stop NHProf -->
<Target Name="NHProfStop">
<Exec Command="$(NHProfExecutable) /Shutdown" />
</Target>
<!-- Run Unit/Integration Tests -->
<Target Name="RunTests">
<CreateItem Include="..\**\bin\debug\*Tests.dll">
<Output TaskParameter="Include" ItemName="TestAssemblies" />
</CreateItem>
<NUnitTeamCity Assemblies="@(TestAssemblies)" NUnitVersion="NUnit-2.5.3"/>
</Target>
<!-- Start NHProf -->
<Target Name="NHProfStart">
<Exec Command="$(NHProfExecutable) /CmdLineMode /File:"$(NHProfFile)" /ReportFormat:$(NHProfReportFormat)" />
</Target>
<Target Name="CIBuildWithNHProf" DependsOnTargets="BuildProjects;DeployTestDatabase;NHProfStart;RunTests;NHProfStop;DeployDatabase">
</Target>
I just created my first MVC2 project using the standard template. I need to be able to change the default browser for my project to test in IE (I use chrome as the default on my OS).
Unfortunately, the "right click on default.aspx" suggestion which worked in MVC1 can't work with these new projects as they don't have that file.
I'm sure I'm overlooking something simple...
Thanks.
Hi ladies(?) and gents,
I am currently evaluating my options for a rewrite of the projects I'm working on and I am a bit miffed by the stringly-typed nature of our app.config files.
I'd like to move to a more structured approach, so I have two options:
Use custom SectionHandlers in the app.config
Scrap app.config and use XAML instead.
I'd like to get your opinions and horror stories on this, what are the pros and cons of using XAML for this?
Cheers,
Florian
We've got several Flex projects, one of which has just been refactored. I'm wondering if there's an easy way to tell which classes and functions (if any) aren't being used any more?
I've discovered that we've definitely got some unused code, because running ASDoc on the entire project reports some compilation errors which don't get reported by Flex Builder (implying that those classes aren't being used any more). I'm hoping to find a more robust and complete method, and preferably one which can work at function level too.
I've tried like this (link):
<taskdef resource="net/sf/antcontrib/antlib.xml" />
<taskdef resource="net/sf/ant4eclipse/antlib.xml" />
<target name="copy_jars">
<getEclipseClasspath workspace="${basedir}/.."
projectname="MyProject"
property="classpath"
relative="false"
runtime="true"
pathseparator="#" />
<!-- iterate over all classpath entries -->
<foreach list="${classpath}" delimiter="#"
target="copy_jar_file" param="classpath.entry" />
</target>
<target name="copy_jar_file">
<!-- check if current is a .jar-file ... -->
<if>
<isfileselected file="${classpath.entry}">
<filename name="**/*.jar" />
</isfileselected>
<then>
<!-- copy the jar file to a destination directory -->
<copy file="${classpath.entry}" tofile="${dest.dir}"/>
</then>
</if>
</target>
But I get the exception:
[getEclipseClasspath] net.sf.ant4eclipse.model.FileParserException: Could not parse plugin project 'E:\...\MyProject' since it contains neither a Bundle-Manifest nor a plugin.xml!
[getEclipseClasspath] at net.sf.ant4eclipse.model.pdesupport.plugin.PluginDescriptorParser.parseEclipseProject(Unknown Source)
[getEclipseClasspath] at net.sf.ant4eclipse.model.pdesupport.plugin.PluginProjectRoleIdentifier.applyRole(Unknown Source)
[getEclipseClasspath] at net.sf.ant4eclipse.model.roles.RoleIdentifierRegistry.applyRoles(Unknown Source)
[getEclipseClasspath] at net.sf.ant4eclipse.tools.ProjectFactory.readProjectFromWorkspace(Unknown Source)
[getEclipseClasspath] at net.sf.ant4eclipse.tools.resolver.AbstractClasspathResolver.resolveEclipseClasspathEntry(Unknown Source)
[getEclipseClasspath] at net.sf.ant4eclipse.tools.resolver.AbstractClasspathResolver.resolveProjectClasspath(Unknown Source)
[getEclipseClasspath] at net.sf.ant4eclipse.tools.resolver.ProjectClasspathResolver.resolveProjectClasspath(Unknown Source)
[getEclipseClasspath] at net.sf.ant4eclipse.ant.task.project.GetEclipseClassPathTask.resolvePath(Unknown Source)
[getEclipseClasspath] at net.sf.ant4eclipse.ant.task.project.AbstractGetProjectPathTask.execute(Unknown Source)
[getEclipseClasspath] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[getEclipseClasspath] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[getEclipseClasspath] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[getEclipseClasspath] at java.lang.reflect.Method.invoke(Method.java:597)
[getEclipseClasspath] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[getEclipseClasspath] at org.apache.tools.ant.Task.perform(Task.java:348)
[getEclipseClasspath] at org.apache.tools.ant.Target.execute(Target.java:357)
[getEclipseClasspath] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[getEclipseClasspath] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[getEclipseClasspath] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[getEclipseClasspath] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[getEclipseClasspath] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[getEclipseClasspath] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[getEclipseClasspath] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[getEclipseClasspath] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
BUILD FAILED
E:\...\build.xml:132: Exception whilst resolving the classpath of project MyProject! Reason: Could not parse plugin project 'E:\...\MyProject' since it contains neither a Bundle-Manifest nor a plugin.xml!
I wan't to copy just the jars, not the referenced projects.
Is there a way to parametrize the task getEclipseClasspath so it only gets the jars, not the projects?
I've been using SVN for my projects and had visualSVN for VS integration. however the Git work flow is different from traditional source control systems (Checkout/edit/stage/commit as oppose to Checkout/edit/commit). I was wondering if there is a good VS addon to support that.
Also any good advice on using git on a windows dev machine is appreciated.
I would like to create small project using django and pyjamas. I tried googling for some solution on how to merge those two, but I found only projects using some external libraries using json services. Could anyone give me some advice on how to build such project so I wouldn't have to use them? I would like to use django auth system, but I don't know how to build it all without django templates and rendering.
Hi!
I'm using Eclipse PDT and SPket for JavaScript editing.
For my project I'm using jQuery library, so I added JavaScript Profile as described here. But it's not working. I tried to create new projects, change jQuery versions and locations, but failed again. Any suggestions?
Thank you!
From within TFS 2008, is there a way to view the disk space taken up on the server by a project (or by all projects)? Or is this something that can only be done by looking directly at the underlying database?
Is there a "win64" identifier in Qmake project files? Qt Qmake advanced documentation does not mention other than unix / macx / win32.
So far I've tried using:
win32:message("using win32")
win64:message("using win64")
amd64:message("using amd64")
The result is always "using win32".
Must I use a separate project-file for x32 and x64 projects, so they would compile against correct libraries? Is there any other way to identify between 32-bit and 64-bit environments?
Hi All,
I have two lists,
Status
Name (string)
Active (yes/no)
Task
Name (string)
Status (Lookup to Status list)
I have the following statuses (These can be changed at any time by the client):
New, Active = Yes
Open, Active = Yes
Not Resolved, Active = No
Resolved, Active = No
I want to create a view for the Projects list, that shows all active tasks... How would I go about this?
Thanks!
Albert
I'm running FxCop from MSBuild and during the analysis it throws an error stating that it could not find the System.XML assembly and that I need to specify the location using the /directory parameter, which I then did but it didn't work. Any idea what I should do? I am running it on projects built on .Net 4.0
I've searched around with this and haven't found any clear answers.
I'm using Eclipse PDT. It seems that if I create a PHP Project, tags work (@todo, etc). However, if I create a project from SVN (still PHP based), tags don't work at all.
Does anyone know how to make tags and doc generation work on a per project basis and still import projects from a SVN repo?
What are the relative pros and cons of:
http://rubyforge.org/projects/daemons
http://github.com/kennethkalmer/daemon-kit
Which is more robust?
Are there any other effective Ruby daemon management tools?