Ignore:
Timestamp:
06/25/14 13:06:59 (10 years ago)
Author:
hkaulbersch
Message:

added all dependencies for apache fop

Location:
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src/de/ugoe/cs/swe/bnftools/generator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src/de/ugoe/cs/swe/bnftools/generator/EbnfGenerator.xtend

    r72 r82  
    4242                                var uri = (fsa as IFileSystemAccessExtension2).getURI(e.name + ".fo"); 
    4343                                var String fullUri = workspacePath + uri.path.substring(10, uri.path.length); 
    44                                 System.out.println(workspacePath + uri.path.substring(10, uri.path.length)); 
    4544                                var File file = new File(fullUri); 
    46                                 System.out.println(file.exists+ "," + fullUri.substring(0, fullUri.length - 3)); 
    4745 
    4846                                if (file.exists) { 
     47                                         
    4948                                        foToPdf.createPdfFromFo(fullUri.substring(0, fullUri.length - 3)); 
     49//                                      fsa.deleteFile(e.name + ".fo"); 
    5050                                } 
    5151                        } 
  • v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src/de/ugoe/cs/swe/bnftools/generator/foToPdf.java

    r72 r82  
    4040 
    4141                // Step 2: Set up output stream. 
    42                 OutputStream out = new BufferedOutputStream(new FileOutputStream(new File(pdfFileName+".pdf"))); 
     42                OutputStream out = new BufferedOutputStream(new FileOutputStream(new File(pdfFileName+".rtf"))); 
    4343 
    4444                try { 
    4545                        // Step 3: Construct fop with desired output format 
    46                         Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, out); 
     46                        Fop fop = fopFactory.newFop(MimeConstants.MIME_RTF, out); 
    4747 
    4848                        // Step 4: Setup JAXP using identity transformer 
Note: See TracChangeset for help on using the changeset viewer.