build-automation

Is it possible to build a sitecore data package from command line, or outside of a web context? i.e. using nant

非 Y 不嫁゛ 提交于 2019-11-29 02:50:46
问题 The Sitecore package wizard can be used to build a package containing data and files for the local Sitecore instance. Is it possible to build a Sitecore package (items only, files are not required) from the command line, or otherwise outside the context of a website? The idea is to use Nant to create a Sitecore data package. I'm aware of Hedgehog TDS, but this question is aimed at what can be done with the existing Sitecore api. 回答1: You should take a look at the Sitecore.Install

Buildprocess for ActiveX / COM / VB6 enterprise projects

淺唱寂寞╮ 提交于 2019-11-29 02:31:10
We have developed a software system using ActiveX/COM (VB6) technology from microsoft. In the last year, i get more and more interested in automated build processes and SCM at a whole. I intensively searched big parts of the web for information about best practices how to do scm with COM based software systems. The "problem" with COM is, that a referencing component holds the reference by an unique interface id. When you recompile the referenced component, the id may change and the reference isn't valid any more. The main problem here is, that the iid is compiled into the binary. So when i don

How do you sign your Firefox extensions?

狂风中的少年 提交于 2019-11-29 01:08:18
问题 I have developed a couple of extensions for Firefox, and am annoyed that it is so hard to get the extension signed. When an extension isn't signed, it says "Author not verified" when it is installed, and to me that just looks wrong. I have a simple build script that builds my .xpi file from sources, and I have a licenced copy of PKZip (which according to a number of tutorials is required to build a signed xpi file that Firefox requires), but I haven't found a way to get a free/cheap

How do I remove app from iOS 8 Simulator from command line?

只愿长相守 提交于 2019-11-28 23:20:53
I have an automation running in the iOS Simulator that I have to remove before another run. How do I remove the app from the iOS Simulator from the command line? For each simulator device directory (located at ~/Library/Developer/CoreSimulator/Devices/* ), I tried to delete ./data/Containers/Bundle/Application/ and ./data/Containers/Data/Application/ . Even when I tried to delete the app by long pressing the app in the Simulator (the app becomes jiggly) and click on the X button, the user defaults were not being cleared. I want the app state to be 100% clean. I found a good solution to solve

Could Free Pascal benefit of something like Apache Maven?

心已入冬 提交于 2019-11-28 20:52:19
Apache Maven is a very popular build and dependency management tool in the Java open source ecosphere. I did some tests to find out if it can handle compiled Free Pascal / Delphi units and found it easy to implement. So it would be possible to release open source libraries precompiled for Free Pascal (or Delphi) in a public Maven repository include metadata in this repository which contains dependency information use Maven on the command line to download the open source library from the public repository, and automatically resolve all dependencies local repositories, working as proxies, could

Automatic Copy of Dependent Files in Qt Creator

一笑奈何 提交于 2019-11-28 20:46:07
I've build a program using Qt Creator 2.2.1 and Qt 4.7.4 (32 bit) whose output is an executable. Opening the exe using DependencyWalker it shows that the exe uses following DLLs: KERNEL32.DLL MSVCRT.DLL MINGWM10.DLL LIBGCC_S_DW2-1.DLL QTCORE4.DLL QTGUI4.DLL I want after the build all dependent files (which may be different in some other project) except Windows specific files (the first two in the above list) to be automatically copied in the directory where the exe is located. How can I do it in Qt Creator or Qt system without using command line scripting? Thanks. In QT 5.3, you may be able to

Best enterprise repository tool for Maven 2?

走远了吗. 提交于 2019-11-28 20:38:57
Some of the other questions and answers here on SO extol the virtues of using an enterprise repository tool like Archiva, Artifactory, or Nexus. What are the pros and cons of each? How do I choose between them? In case it helps: We use both Maven 1 and Maven 2 (at least for a while) We want to store both internally-generated artifacts, publicly-available ones (ibiblio, codehaus, etc.), and proprietary ones (e.g. Sun's licensed JARs like the Servlet API). We would like something that runs on Windows, Linux, or both. We use Luntbuild as our CI server (but intend moving to Hudson some time). N.B.

How to make MSBuild to automatically copy all indirect references to output (bin) folder

*爱你&永不变心* 提交于 2019-11-28 20:18:12
Subj. "Automatically" is essential here. References from GAC must not be copied. I've seen e.g. VS2008.NET: Getting a referenced project’s dependencies to copy to main project’s bin folder , and this isn't interesting for me. I'd like all the dependencies get copied automatically. C Johnson For C++ projects, i.e. *.vcxproj set the <OutDir> property. for C# projects, i.e. *.csproj set the <OutputPath> property. Make sure nothing overwrites those properties. In all my years doing builds for major, large products, I've never had to do anything different. If you have to do any other clever hack,

Move a text file into target folder when compiling a Maven project

ぐ巨炮叔叔 提交于 2019-11-28 20:18:05
I have a slight different version of the question that I made recently. I have a Maven project under Netbeans 7.3 , which doesn't have any build.xml file to configure building options, while there is the pom.xml that I use to import other libraries. Now, I have a text file (let's say textfile.txt ) stored in the project folder in Netbeans 7.3 , e.g. project folder textfile.txt src package package.subpackage MyClass.java When I compile I get a target folder where the jar file is put in, e.g. project folder textfile.txt target classes generated-sources ....etc test-classes MyProject.jar src

Integrating Jade in Yeoman's server/watch/reload tasks

六月ゝ 毕业季﹏ 提交于 2019-11-28 19:35:58
I've been playing around with Yeoman & Jade . I've created a small test app via yeoman init angular (it's an angular app, but that's not the point here)... When I enter yeoman server at the command line, it will: compile coffeescript & compass files start a server start a browser watch & reload coffeescript & compass changes in the browser Which is a great feature of Yeoman! Now I want the same feature with Jade. So I installed grunt-jade via npm install grunt-jade and added the following config in GruntFile.js to compile the jade templates: jade: { html: { src: ['app/views/*.jade'], dest: