Ignore:
Timestamp:
10/19/09 13:29:46 (15 years ago)
Author:
zeiss
Message:
 
Location:
trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/ApplicationWorkbenchWindowAdvisor.java

    r3 r7  
    2525                configurer.setShowCoolBar(false); 
    2626                configurer.setShowStatusLine(false); 
    27                 configurer.setTitle("The Exercise Manager"); 
    2827        } 
    2928} 
  • trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/PdfGenerator.java

    r3 r7  
    102102                        } 
    103103 
     104                        String templatePath = ExerciseSVN.SVNpath; 
     105                        templatePath = templatePath.replace('\\','/'); 
     106 
     107                        String deliveryDate = "todo..."; 
     108                         
    104109                        template = template.replaceAll("(\\W)LECTURE(\\W)", "$1" 
    105110                                        + Matcher.quoteReplacement(event.toString()) + "$2"); 
     
    113118                        template = template.replaceAll("(\\W)EXERCISES(\\W)", "$1" 
    114119                                        + Matcher.quoteReplacement(exercisesString) + "$2"); 
     120                        template = template.replaceAll("(\\W)TEMPLATEPATH(\\W)", "$1" 
     121                                        + Matcher.quoteReplacement(templatePath) + "$2"); 
     122                        template = template.replaceAll("(\\W)DELIVERYDATE(\\W)", "$1" 
     123                                        + Matcher.quoteReplacement(deliveryDate) + "$2"); 
    115124 
    116125                        FileOutputStream ofstream = new FileOutputStream(latexFile); 
Note: See TracChangeset for help on using the changeset viewer.