Changeset 2641
- Timestamp:
- 03/01/13 06:54:41 (11 years ago)
- Location:
- vlo/branches/vlo-2.13-param
- Files:
-
- 26 added
- 4 deleted
- 5 edited
- 59 copied
- 5 moved
Legend:
- Unmodified
- Added
- Removed
-
vlo/branches/vlo-2.13-param/pom.xml
r2580 r2641 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 4 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 5 3 <modelVersion>4.0.0</modelVersion> 6 4 <groupId>eu.clarin.cmdi</groupId> … … 22 20 <module>vlo_solr</module> 23 21 <module>vlo_webapp</module> 24 </modules> 22 <module>vlo_web_app</module> 23 </modules> 25 24 26 25 <properties> … … 51 50 </build> 52 51 </project> 53 -
vlo/branches/vlo-2.13-param/vlo_webapp/nbactions.xml
r2627 r2641 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <actions> 3 <action> 4 <actionName>run</actionName> 5 <goals> 6 <goal>process-classes</goal> 7 <goal>org.codehaus.mojo:exec-maven-plugin:1.2:exec</goal> 8 </goals> 9 <properties> 10 <exec.args>-classpath %classpath eu.clarin.cmdi.vlo.importer.MetadataImporter -c /Users/keeloo/VloConfig.xml</exec.args> 11 <exec.executable>java</exec.executable> 12 <exec.classpathScope>runtime</exec.classpathScope> 13 </properties> 14 </action> 15 <action> 16 <actionName>debug</actionName> 17 <goals> 18 <goal>process-classes</goal> 19 <goal>org.codehaus.mojo:exec-maven-plugin:1.2:exec</goal> 20 </goals> 21 <properties> 22 <exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath eu.clarin.cmdi.vlo.importer.MetadataImporter -c /Users/keeloo/VloConfig.xml</exec.args> 23 <exec.executable>java</exec.executable> 24 <exec.classpathScope>runtime</exec.classpathScope> 25 <jpda.listen>true</jpda.listen> 26 </properties> 27 </action> 28 <action> 29 <actionName>profile</actionName> 30 <goals> 31 <goal>process-classes</goal> 32 <goal>org.codehaus.mojo:exec-maven-plugin:1.2:exec</goal> 33 </goals> 34 <properties> 35 <exec.args>${profiler.args} -classpath %classpath eu.clarin.cmdi.vlo.importer.MetadataImporter -c /Users/keeloo/VloConfig.xml</exec.args> 36 <exec.executable>${profiler.java}</exec.executable> 37 </properties> 38 </action> 3 39 4 40 </actions> -
vlo/branches/vlo-2.13-param/vlo_webapp/pom.xml
r2627 r2641 4 4 <groupId>eu.clarin.cmdi</groupId> 5 5 <artifactId>vlo</artifactId> 6 <packaging> ${packaging}</packaging>6 <packaging>jar</packaging> 7 7 8 8 <!-- When updating the version number here, also update -
vlo/branches/vlo-2.13-param/vlo_webapp/src/main/java/eu/clarin/cmdi/vlo/config/VloConfig.java
r2639 r2641 58 58 * @author keeloo 59 59 */ 60 @Root 60 @Root(strict=false) 61 61 public class VloConfig extends ConfigFromFile { 62 62 -
vlo/branches/vlo-2.13-param/vlo_webapp/src/main/java/eu/clarin/cmdi/vlo/importer/MetadataImporter.java
r2639 r2641 407 407 fileName = cmd.getOptionValue("c"); 408 408 409 // include the full path in the name410 fileName = VloConfig.class.getResource(fileName).getFile();411 412 409 // optionally, check for file existence here 413 410 414 411 // read the configuration defined in the file 415 config = VloConfig.read Config(fileName);412 config = VloConfig.readTestConfig(fileName); 416 413 417 414 // optionally, modify the configuration here
Note: See TracChangeset
for help on using the changeset viewer.