This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| New OPS4J Channels in May 2011 | |
| Information: | |
| http://ops4j1.jira.com/wiki/ --> Wiki | |
| ops4j@googlegroups.com --> New Mailinglist | |
| ops4j-notify@googlegroups.com --> Notification List | |
| http://twitter.com/ops4j --> Twitter Channel | |
| #OPS4J on freenode: IRC | |
| Development: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| zazu:bndtools tonit$ ant build p2 | |
| Buildfile: /Users/tonit/devel/oss/bndtools/build.xml | |
| build: | |
| init: | |
| [bndprepare] java.lang.AbstractMethodError | |
| [bndprepare] at aQute.bnd.build.Project.getBundle(Project.java:769) | |
| [bndprepare] at aQute.bnd.build.Project.getBundles(Project.java:424) | |
| [bndprepare] at aQute.bnd.build.Project.parseBuildpath(Project.java:343) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright 2011 Toni Menzel. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void reactorRun( StagedExamReactorFactory strategy ) throws Exception | |
| { | |
| TestContainerFactory factory = getFactory(); | |
| Option[] options = new Option[]{ junitBundles(), easyMockBundles() }; | |
| ExxamReactor reactor = new DefaultExamReactor( factory ); | |
| TestProbeProvider probe = makeProbe(); | |
| reactor.addProbe( probe ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private TestProbeProvider makeProbe() throws IOException | |
| { | |
| TestProbeBuilder probe = new PlumbingContext().createProbe(); | |
| probe.addTests( | |
| SingleTestProbe.class, | |
| getAllMethods( SingleTestProbe.class ) | |
| ); | |
| return probe.build(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for( TestContainer testContainer : getTestContainerFactory().parse( options ) ) { | |
| try { | |
| testContainer.start(); | |
| testContainer.install( p.getStream() ); | |
| for( TestAddress test : p.getTests() ) { | |
| testContainer.call( test ); | |
| } | |
| } finally { | |
| testContainer.stop(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find . -type f -name "*.java" -exec perl -pi -e 's/\r/\n/g' \{\} \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tarted by user anonymous | |
| Checkout:workspace / /Users/tonit/devel/oss/pax-exam-hudson/work/jobs/Pax Repository/workspace - hudson.remoting.LocalChannel@512f0cf1 | |
| Using strategy: Default | |
| Last Built Revision: Revision 79afe211de70aa194dd084938bb5e7636bbafda3 (origin/master) | |
| Checkout:workspace / /Users/tonit/devel/oss/pax-exam-hudson/work/jobs/Pax Repository/workspace - hudson.remoting.LocalChannel@512f0cf1 | |
| GitAPI created | |
| Fetching changes from the remote Git repository | |
| Fetching upstream changes from file:///Users/tonit/devel/oss/pax-repository/.git | |
| [workspace] $ git fetch -t file:///Users/tonit/devel/oss/pax-repository/.git +refs/heads/*:refs/remotes/origin/* | |
| [workspace] $ git ls-tree HEAD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| First make sure you prepare your environment http://wiki.ops4j.org/display/ops4j/Releasing. | |
| Use Maven 3. | |
| mvn -Prelease,repos.sonatype.staging -Darguments="-Prelease,repos.sonatype.staging" release:prepare | |
| mvn -Prelease,repos.sonatype.staging -Darguments="-Prelease,repos.sonatype.staging" release:perform -Dgoals=deploy -DconnectionUrl=scm:git:file:///Users/tonit/devel/oss/org.ops4j.pax.exam1/ | |
| Hint: | |
| 1. the -DconnectionUrl is a workaround for bug http://jira.codehaus.org/browse/MRELEASE-605 |