Ярлыки
- Задачки (3)
- Поиск маршрутов (1)
- Amazon (2)
- apache (2)
- Celery (3)
- curl (1)
- Django (9)
- english (1)
- fabric (1)
- GLPK (1)
- HTML (1)
- java (6)
- Job (1)
- JS (1)
- knockout JS (3)
- LP (2)
- mongo (1)
- MySQL (9)
- neo4j (5)
- Oracle (1)
- parallel (1)
- PostgreSQL (3)
- PsyCo (1)
- PyQt (17)
- Python (30)
- routers finding (3)
- Soft (1)
- SSH (4)
- supervisor (1)
- SVG (2)
- SVN (1)
- TEX (1)
- Ubuntu (15)
- web (1)
- wsgi (1)
Показаны сообщения с ярлыком java. Показать все сообщения
Показаны сообщения с ярлыком java. Показать все сообщения
воскресенье, 6 апреля 2014 г.
понедельник, 17 марта 2014 г.
Java: Cobertura coverage report
Original here: http://stackoverflow.com/questions/2006014/how-to-generate-cobertura-code-coverage-report-using-maven-from-hudson
To run Cobertura during package phase, do
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5.2</version>
<configuration>
<formats>
<format>xml</format>
</formats>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>cobertura</goal>
</goals>
</execution>
</executions>
</plugin>
Heres an example of pom
And here how to integrate in Hudson http://macgyverdev.blogspot.com/2011/04/hudson-continous-integration-for-google.html
воскресенье, 19 января 2014 г.
Install Oracle Java 7 in Ubuntu
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
понедельник, 15 июля 2013 г.
Code coverage utility: Cubertura
In my opinion, Cubertura - the best utility for watch code coverage.
For more information please see http://cobertura.github.io/cobertura/
For more information please see http://cobertura.github.io/cobertura/
понедельник, 18 марта 2013 г.
create JAR in Eclipse
1. Project import
Import files as existing project (File → Import... → Existing Projects into Workspace).
2. Creating JAR
Context menu on project folder > Export... > Java/JAR file. Than we change path and name of JAR in field "Select the export destination".
3. Some error
Error: "JAR creation failed. See details for additional information". Details: Resource is out of sync with the file system: /projectName/.svn/entries
Solution: Context menu on project folder > Refresh
вторник, 2 октября 2012 г.
neo4j: class RelTypeFilterExcluder example
public class RelTypeFilterExcluder implements Predicate<Object> {
Set<String> exclude;
public RelTypeFilterExcluder(Set<String> excludeInput) {
this.exclude = excludeInput;
}
@Override
public boolean accept(Object arg0) {
String typeItem = ((PropertyContainer) arg0).getProperty("type").toString();
if ( this.exclude.contains(typeItem) ) {
return false;
}
return true;
}
}
Подписаться на:
Сообщения (Atom)