Show
Ignore:
Timestamp:
03/02/10 11:28:24 (2 years ago)
Author:
romain.reuillon
Message:

Netlogo task, debug grouping

Location:
trunk/openmole/plugins
Files:
52 added
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/openmole/plugins

    • Property svn:ignore set to
      .pom.xml.swp
  • trunk/openmole/plugins/jars/pom.xml

    r3095 r3138  
    4141            <scope>runtime</scope> 
    4242        </dependency> 
    43  
     43        <dependency> 
     44            <groupId>${project.groupId}</groupId> 
     45            <artifactId>org.openmole.plugin.molejobgroupingstrategy.onfactor</artifactId> 
     46            <version>${project.version}</version> 
     47            <scope>runtime</scope> 
     48        </dependency> 
     49        <dependency> 
     50            <groupId>${project.groupId}</groupId> 
     51            <artifactId>org.openmole.plugin.task.netlogotask</artifactId> 
     52            <version>${project.version}</version> 
     53            <scope>runtime</scope> 
     54        </dependency> 
    4455    </dependencies> 
    4556 
  • trunk/openmole/plugins/org.openmole.plugin.specializedhellotask/src/main/java/org/openmole/plugin/specializedhellotask/SpecializedHelloTask.java

    r3058 r3138  
    66package org.openmole.plugin.specializedhellotask; 
    77 
     8import java.math.BigDecimal; 
     9import org.openmole.core.workflow.model.data.Data; 
     10import org.openmole.core.workflow.model.data.Prototype; 
    811import org.openmole.misc.exception.InternalProcessingError; 
    912import org.openmole.misc.exception.UserBadDataError; 
     
    1215import org.openmole.core.workflow.model.job.IContext; 
    1316import org.openmole.core.workflow.model.mole.execution.IExecutionContext; 
     17import org.openmole.core.workflow.model.task.annotations.Output; 
    1418 
    1519/** 
     
    1822 */ 
    1923public class SpecializedHelloTask extends HelloTask { 
     24 
     25    @Output 
     26    Data<BigDecimal> hello = new Data<BigDecimal>("hello", BigDecimal.class); 
    2027 
    2128    public SpecializedHelloTask(String name) throws UserBadDataError, InternalProcessingError { 
     
    2633    protected void process(IContext context, IExecutionContext executionContext, IProgress progress) throws UserBadDataError, InternalProcessingError, InterruptedException { 
    2734        super.process(context, executionContext, progress); 
     35 
    2836        System.out.println("Specialized"); 
     37 
     38        context.setValue(hello.getPrototype(), new BigDecimal(20.0)); 
    2939    } 
    3040     
  • trunk/openmole/plugins/pom.xml

    r3039 r3138  
    2121  <module>org.openmole.plugin.environmentprovider.jsaga</module> 
    2222  <module>org.openmole.plugin.environmentprovider.glite</module> 
     23  <module>org.openmole.plugin.molejobgroupingstrategy.onfactor</module> 
     24  <module>org.openmole.plugin.task.netlogotask</module> 
    2325  <module>jars</module> 
    2426    </modules> 

logo cemagref

logo iscpif

logo lifegrid

logo region auvergne

logo patres project