I am using Hudson server for automating build for xcode projects.I am using SVN to check out the code and then do the build.
I just wanted to know if it is possible to configure build settings in hudson so that the local path of the directory can be given so that projects stored locally can be build in Hudson.If anyone has done it before.Any help will be deeply appreciated.
Link your files into the project structure which hudson is using. This is described here:
http://wiki.hudson-ci.org/display/HUDSON/Building+a+software+project#Buildingasoftwareproject-BuildsforNonSourceControlProjects
Related
I am looking into bitbucket server plugin development and using atlas on mac. From what I understand in the tutorials, you write your code and run atlas-run to execute - but this downloads the entire bitbucket application.
Is there a way to download this implementation once and share among plugins for development? Or to tell atlas the location of the shared instance?
As I mentioned in my comment the download process relies on maven repository find ~/.m2/repository/com/atlassian/ -name \*.war returns
~/.m2/repository/com/atlassian//bitbucket/server/bitbucket-webapp/5.5.2/bitbucket-webapp-5.5.2.war
So as long as you use the same maven repo and use the same BB version it will reuse the existing war file from the maven repo
I am trying to monitor kafka using KafkaOffsetMonitor tool. It is working fine as I used already built jar available at its github page. Now I want to make some changes in this tool but I dont know how to manually build it. I have downloaded the zip file from github page. Now how should I build it?
PS: Steps would be helpful
Below are the steps which may help you:
1. Checkout and get the source code into your local machine or you may have to unzip it if you have downloaded zip file.
2. Go to the folder which you have extracted or checked-out.
3. Run below command:
mvn clean package -U -DskipTests
Note: make sure you have installed maven in your machine.
Make the changes in the source if you want to modify the tool and build it using above steps.
I know that I'm coming at this pretty late, but I ran into the same problem. Basically, you need a Java jdk, scala, and sbt installed first. You didn't post what os you're dealing with, so it would be hard for me to give you steps for that. I use Gentoo Linux and you can install it by running emerge -av sbt
Once sbt is installed, just clone KafkaOffsetMonitor Github repository change to the top level directory and run the following sbt command: sbt assembly
The jar you will be looking for will be in: ./target/scala-<scala_version>/KafkaOffsetMonitor-assembly-<kafkaoffsetmonitor_version>.jar
I want to deploy an Azure deployment project.
I am using eclipse version kepler, and i already installed the azure SDK and the plugin for eclipse.
The problem is, that there is no samples folder in my project after i create it.
So i can not copy the tomcat-sample-script into my startup file. I have no idea why this is not created. I made a tutorial step by step but it did not create this folder.
Here is the tutorials i tried to do:
http://dotnetslackers.com/articles/net/Developing-a-Hello-World-Java-Application-and-Deploying-it-in-Windows-Azure1.aspx
http://dotnetslackers.com/articles/net/Developing-a-Hello-World-Java-Application-and-Deploying-it-in-Windows-Azure2.aspx
Does anybody know why the folder was not created or where i can get these sample-scripts from?
I hope you can help me!
I'm trying to build and run some of the example apps included in the Windows Azure Toolkit here, but it can't seem to find libwatoolkitios.a which is a required file for build. I have not modified the project in any way and I would assume that this file should be included automatically, so how do I get it? How have you guys been able to compile the apps successfully? Thanks.
The library libwatoolkitios.a is not provided as download instead you would need to build it first, described in the doc as below:
Open the watoolkit-lib Xcode project.
Compile the project for release.
Place the .a file and the header files somewhere that you can reference from your project (for this example lets say lib).
I am not sure if there's an answer for this already -- couldn't find one for this (hopefully common) setup:
I recently converted one of my ColdFusion projects to deploy via ANT.
I have a local ant script that instructs a remote server to check out the code, and run the application's specific build file, remotely on the server.
I have a few endpoints:
Live - production (on the production server)
Staging - on the production server, different datasource, etc.
dev - on the local box.
What I have run into it seems is a simple and common problem. I now need ANT to create any build, even locally. Fine, created a local endpoint and it configures for my box.
Issue? How do I get it to show up as a project (automatically if possible) in Eclipse/ColdFusion builder. What I envision is instead of checking out a branch via the subversion plugin in CFBuilder/Eclipse, I now use ANT to do that for me.
Since I use ColdFusion Builder (Eclipse + Adobe's plugin), I have all of eclipse's tools and plugins available to solve the problem of : how can I best call ANT from within Eclipse/ColdFusion Builder, to setup the local build as a project that I can develop and work on?
I think when I check the code back in from the local box, I'd have to be sure not to check in any files with local config paths, etc.
I hope this is a detailed and clear enough explanation, if not, please ask.
Thanks in advance!
You won't be able to have it "automatically" show up in CFBuilder, but you can make it pretty easy.
Eclipse requires the ".project" file, which is a simple xml file that by default generally just contains the project name.
Once you check out your project from SVN, Do file -- new -- ColdFusion project and point it to the directory where you've checked out your code. This will create the .project in there. From there, you can commit that file to SVN.
Subsequent developers who check out the project from SVN can then do File -- Import -- Existing Project into workspace, and point it to their checked out location. Since it'll have the .project file in there (from when you committed it), that project will show up when they search for projects in that import wizard.
Now, that's how you'd do it if you already used ANT to check out the code. However, if you wanted a potentially even easier way, then you can just install either the Subversive or Subclipse plugin into CFBuilder, and then do
file -- new -- checkout project from svn
point to your svn url
select the directory you want to check out
choose a location where you want the code to live
click through to completion