Can I check for modifications on a different path to the one that is checked out? - cruisecontrol.net

I have a project with a sourcecontrol block which has a trunk url value.
I also use intervalTrigger with modification exists property.
I'd like to only build if there are modifications in a sub path of the trunk url, anyone know how I might do that?

Please check the following post, I think it's related:
how to customize buildCondition="IfModificationExists" on CruiseControlNet build?
and there's the filtered source control block which should do what you need:
http://cruisecontrolnet.org/projects/ccnet/wiki/Filtered

Related

IRS ACA Sample Manifest AATS sample file

I need a sample file for the latest Scenarios of AATS Testing. We generated the code for this and want to check the against to accepted one.
"Latest scenario" is always changing. More importantly, why don't you just submit your XML and see what response you get from the IRS? If they accept it, there's no need to do anything else. If they reject it, they will indicate where it failed. Either way, there's no need to see anybody else's XML.
You can find the current scenarios and answer keys for the scenarios for AATS testing at the following link:
https://www.irs.gov/for-tax-pros/software-developers/information-returns/affordable-care-act-assurance-testing-system-information
Edit:
Be sure to review the "AATS Scenario Known Issues and Solutions" link. As of this post, that document was last updated on 4/26/2016 and mentions some issues that have been reported and solutions for them.

How to solve Gitbook don't work?

When i use gitbook,the Table of Contents are as blows:
How to resolve it? There is a remind:Need valid "ref" options
It seems like you don't have a SUMMARY.md. At least I don't see one in your files Tree.
If it still doesn't work, do you have a link to your files?

How to use file references in comments - base address ? placeholder?

When I type file://someDir/image.png in Visual Studio source code comment (2012, c#, for that matter), I guess it's a relative path. So what is the base address? is there a way to set, for instance, current project as the base address (or even use some kind of placeholder like %PROJECT% or something similar) ?
I want to use image to explain complicated idea, like:
// take a look at:file://ThisExplainsItBetter.png
ImageComments extension for Visual Studio can display images and use relative paths.
What you're asking for is not really possible, as there is no comment pre-processor for C#, or any other language that I can think of. The source code is turned into the executable, but the comments are ignored.
In addition, such a pre-processor would inadvertently edit your code before compilation, or do some other spooky stuff, which may change your executable's logic.
You can go with may be it will help you
string startupPath = System.IO.Directory.GetCurrentDirectory();
string startupPath = Environment.CurrentDirectory;
Or if you have Image folder inside your repository you can use "../../" or "~/"
It will get file from your project root.

NSIS: find the target of a link

Is there a way to check what is the target of a link, using NSIS ?
[ I want to check and update links on desktop, but I have a hard time checking if they belong to my application, because the name may contain a space or something, so it may not be identical...
I also want to delete links that are no longer used, that point to my folder.
So... I would like to look at the target, but can't fins anything that gives it to me. ]
You could try the ShellLink plugin or call the IShellLink+IPersistFile COM interfaces directly with the system plugin but normally a uninstaller/updater will only deal with shortcuts it created and not things the user might have created/renamed...

More efficient ExpressionEngine server moves

I'm trying to find a better way to move my Expression Engine 2 sites from development to live servers. I have a checklist that I go through, starting with running a find and replace for the old/new URLs and server paths, then I update the database config file. This however misses out a huge amount of settings that I then have to go through and change manually, but I don't see why I should need to (unless these are encrypyed somewhere).
For example, I have to change the "Basepath to Template File Directory" in the Global Template Settings manually, along with member settings and a handful of others. There must be a file or entry with these in somewhere that I can change before I upload but I can't find it.
Does anyone know where these are stored?
Those are stored in the database, unless you are using global config variables.
I would highly recommend looking into some sort of config bootstrap. There are quite a few solutions to this, but it's really up to you to pick what's right for your development style / environment(s).
Take a look at the following articles:
http://eeinsider.com/articles/creating-a-robust-config.php-file/
http://boblet.tumblr.com/post/68095239/ee-localhost
http://eeinsider.com/articles/multi-server-setup-for-ee-2/
I've tried those solutions, but in my opinion the best option is NSM config bootstrap.
Check it out here: [http://ee-garage.com/nsm-config-bootstrap][4]
The only thing (currently) missing from these solutions are new config vars regarding file upload paths and locations. You can add those to any of these solutions by adding the variables detailed in this article:
http://expressionengine.com/user_guide/cp/content/files/file_upload_preferences.html#overriding-upload-paths-and-urls-using-configuration-variables
I know I'm late on this one, but for anyone else searching, this plugin is very useful and I have used it on numerous occasions.
ExpressionEngine stores your website URL and Server Path in a ridiculous number of places.
REElocate helps you update these in one simple step.
https://github.com/expressodev/reelocate

Resources