You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Yonas Jongkind (JIRA)" <ji...@apache.org> on 2009/12/01 05:12:20 UTC

[jira] Created: (PDFBOX-573) Maven build does not download files not inclued in the distribution

Maven build does not download files not inclued in the distribution
-------------------------------------------------------------------

                 Key: PDFBOX-573
                 URL: https://issues.apache.org/jira/browse/PDFBOX-573
             Project: PDFBox
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Yonas Jongkind


The following plug-in call seems to be the best thing. Just run ant directly. There does not seem to be a maven equivalent for getting files from a server.

    <build>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>process-resources</phase>
            <configuration>
              <tasks>
				<ant antfile="build.xml" target="get.adobefiles"/>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PDFBOX-573) Maven build does not download files not inclued in the distribution

Posted by "Yonas Jongkind (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonas Jongkind updated PDFBOX-573:
----------------------------------

    Description: 
The following plug-in call seems to be the best thing. Just run ant directly. There does not seem to be a maven equivalent for getting files from a server.

    <build>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <configuration>
              <tasks>
				<ant antfile="build.xml" target="get.adobefiles"/>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
         <dependencies>
                       <dependency>
                           <groupId>org.apache.ant</groupId>
                           <artifactId>ant-nodeps</artifactId>
                           <version>1.7.1</version>
                       </dependency>
        </dependencies>

      </plugin>
    </plugins>

And the build.xml need to be modified from:
    <target name="find.adobefiles">
        <available property="adobefiles.found" file="${dest.dir}/Resources"/>
    </target>

to:
    <target name="find.adobefiles">
        <available property="adobefiles.found" file="${dest.dir}/Resources/cmap"/>
    </target>
  

  was:
The following plug-in call seems to be the best thing. Just run ant directly. There does not seem to be a maven equivalent for getting files from a server.

    <build>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>process-resources</phase>
            <configuration>
              <tasks>
				<ant antfile="build.xml" target="get.adobefiles"/>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
         <dependencies>
                       <dependency>
                           <groupId>org.apache.ant</groupId>
                           <artifactId>ant-nodeps</artifactId>
                           <version>1.7.1</version>
                       </dependency>
        </dependencies>

      </plugin>
    </plugins>

And the build.xml need to be modified from:
    <target name="find.adobefiles">
        <available property="adobefiles.found" file="${dest.dir}/Resources"/>
    </target>

to:
    <target name="find.adobefiles">
        <available property="adobefiles.found" file="${dest.dir}/Resources/cmap"/>
    </target>
  


> Maven build does not download files not inclued in the distribution
> -------------------------------------------------------------------
>
>                 Key: PDFBOX-573
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-573
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Yonas Jongkind
>
> The following plug-in call seems to be the best thing. Just run ant directly. There does not seem to be a maven equivalent for getting files from a server.
>     <build>
>     <plugins>
>       <plugin>
>         <artifactId>maven-antrun-plugin</artifactId>
>         <executions>
>           <execution>
>             <phase>generate-sources</phase>
>             <configuration>
>               <tasks>
> 				<ant antfile="build.xml" target="get.adobefiles"/>
>               </tasks>
>             </configuration>
>             <goals>
>               <goal>run</goal>
>             </goals>
>           </execution>
>         </executions>
>          <dependencies>
>                        <dependency>
>                            <groupId>org.apache.ant</groupId>
>                            <artifactId>ant-nodeps</artifactId>
>                            <version>1.7.1</version>
>                        </dependency>
>         </dependencies>
>       </plugin>
>     </plugins>
> And the build.xml need to be modified from:
>     <target name="find.adobefiles">
>         <available property="adobefiles.found" file="${dest.dir}/Resources"/>
>     </target>
> to:
>     <target name="find.adobefiles">
>         <available property="adobefiles.found" file="${dest.dir}/Resources/cmap"/>
>     </target>
>   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PDFBOX-573) Maven build does not download files not inclued in the distribution

Posted by "Chris Dahlgren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789346#action_12789346 ] 

Chris Dahlgren commented on PDFBOX-573:
---------------------------------------

Pls see issue line

Mvh Chris Dahlgren Mobilnr: +46736765678
E-Mail:
chris_59@tele2.se


> Maven build does not download files not inclued in the distribution
> -------------------------------------------------------------------
>
>                 Key: PDFBOX-573
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-573
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Yonas Jongkind
>            Assignee: Jukka Zitting
>             Fix For: 1.0.0
>
>
> The following plug-in call seems to be the best thing. Just run ant directly. There does not seem to be a maven equivalent for getting files from a server.
>     <build>
>     <plugins>
>       <plugin>
>         <artifactId>maven-antrun-plugin</artifactId>
>         <executions>
>           <execution>
>             <phase>generate-sources</phase>
>             <configuration>
>               <tasks>
> 				<ant antfile="build.xml" target="get.adobefiles"/>
>               </tasks>
>             </configuration>
>             <goals>
>               <goal>run</goal>
>             </goals>
>           </execution>
>         </executions>
>          <dependencies>
>                        <dependency>
>                            <groupId>org.apache.ant</groupId>
>                            <artifactId>ant-nodeps</artifactId>
>                            <version>1.7.1</version>
>                        </dependency>
>         </dependencies>
>       </plugin>
>     </plugins>
> And the build.xml need to be modified from:
>     <target name="find.adobefiles">
>         <available property="adobefiles.found" file="${dest.dir}/Resources"/>
>     </target>
> to:
>     <target name="find.adobefiles">
>         <available property="adobefiles.found" file="${dest.dir}/Resources/cmap"/>
>     </target>
>   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PDFBOX-573) Maven build does not download files not inclued in the distribution

Posted by "Yonas Jongkind (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonas Jongkind updated PDFBOX-573:
----------------------------------

    Description: 
The following plug-in call seems to be the best thing. Just run ant directly. There does not seem to be a maven equivalent for getting files from a server.

    <build>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>process-resources</phase>
            <configuration>
              <tasks>
				<ant antfile="build.xml" target="get.adobefiles"/>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
         <dependencies>
                       <dependency>
                           <groupId>org.apache.ant</groupId>
                           <artifactId>ant-nodeps</artifactId>
                           <version>1.7.1</version>
                       </dependency>
        </dependencies>

      </plugin>
    </plugins>

And the build.xml need to be modified from:
    <target name="find.adobefiles">
        <available property="adobefiles.found" file="${dest.dir}/Resources"/>
    </target>

to:
    <target name="find.adobefiles">
        <available property="adobefiles.found" file="${dest.dir}/Resources/cmap"/>
    </target>
  

  was:
The following plug-in call seems to be the best thing. Just run ant directly. There does not seem to be a maven equivalent for getting files from a server.

    <build>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>process-resources</phase>
            <configuration>
              <tasks>
				<ant antfile="build.xml" target="get.adobefiles"/>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>

And the build.xml need to be modified from:
    <target name="find.adobefiles">
        <available property="adobefiles.found" file="${dest.dir}/Resources"/>
    </target>

to:
    <target name="find.adobefiles">
        <available property="adobefiles.found" file="${dest.dir}/Resources/cmap"/>
    </target>
  


> Maven build does not download files not inclued in the distribution
> -------------------------------------------------------------------
>
>                 Key: PDFBOX-573
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-573
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Yonas Jongkind
>
> The following plug-in call seems to be the best thing. Just run ant directly. There does not seem to be a maven equivalent for getting files from a server.
>     <build>
>     <plugins>
>       <plugin>
>         <artifactId>maven-antrun-plugin</artifactId>
>         <executions>
>           <execution>
>             <phase>process-resources</phase>
>             <configuration>
>               <tasks>
> 				<ant antfile="build.xml" target="get.adobefiles"/>
>               </tasks>
>             </configuration>
>             <goals>
>               <goal>run</goal>
>             </goals>
>           </execution>
>         </executions>
>          <dependencies>
>                        <dependency>
>                            <groupId>org.apache.ant</groupId>
>                            <artifactId>ant-nodeps</artifactId>
>                            <version>1.7.1</version>
>                        </dependency>
>         </dependencies>
>       </plugin>
>     </plugins>
> And the build.xml need to be modified from:
>     <target name="find.adobefiles">
>         <available property="adobefiles.found" file="${dest.dir}/Resources"/>
>     </target>
> to:
>     <target name="find.adobefiles">
>         <available property="adobefiles.found" file="${dest.dir}/Resources/cmap"/>
>     </target>
>   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PDFBOX-573) Maven build does not download files not inclued in the distribution

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved PDFBOX-573.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0
         Assignee: Jukka Zitting

Thanks! I committed the proposed changes in revision 889591.

See PDFBOX-545 for a broader effort to improve the Maven build of PDFBox.

> Maven build does not download files not inclued in the distribution
> -------------------------------------------------------------------
>
>                 Key: PDFBOX-573
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-573
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Yonas Jongkind
>            Assignee: Jukka Zitting
>             Fix For: 1.0.0
>
>
> The following plug-in call seems to be the best thing. Just run ant directly. There does not seem to be a maven equivalent for getting files from a server.
>     <build>
>     <plugins>
>       <plugin>
>         <artifactId>maven-antrun-plugin</artifactId>
>         <executions>
>           <execution>
>             <phase>generate-sources</phase>
>             <configuration>
>               <tasks>
> 				<ant antfile="build.xml" target="get.adobefiles"/>
>               </tasks>
>             </configuration>
>             <goals>
>               <goal>run</goal>
>             </goals>
>           </execution>
>         </executions>
>          <dependencies>
>                        <dependency>
>                            <groupId>org.apache.ant</groupId>
>                            <artifactId>ant-nodeps</artifactId>
>                            <version>1.7.1</version>
>                        </dependency>
>         </dependencies>
>       </plugin>
>     </plugins>
> And the build.xml need to be modified from:
>     <target name="find.adobefiles">
>         <available property="adobefiles.found" file="${dest.dir}/Resources"/>
>     </target>
> to:
>     <target name="find.adobefiles">
>         <available property="adobefiles.found" file="${dest.dir}/Resources/cmap"/>
>     </target>
>   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PDFBOX-573) Maven build does not download files not inclued in the distribution

Posted by "Yonas Jongkind (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonas Jongkind updated PDFBOX-573:
----------------------------------

    Description: 
The following plug-in call seems to be the best thing. Just run ant directly. There does not seem to be a maven equivalent for getting files from a server.

    <build>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>process-resources</phase>
            <configuration>
              <tasks>
				<ant antfile="build.xml" target="get.adobefiles"/>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>

And the build.xml need to be modified from:
    <target name="find.adobefiles">
        <available property="adobefiles.found" file="${dest.dir}/Resources"/>
    </target>

to:
    <target name="find.adobefiles">
        <available property="adobefiles.found" file="${dest.dir}/Resources/cmap"/>
    </target>
  

  was:
The following plug-in call seems to be the best thing. Just run ant directly. There does not seem to be a maven equivalent for getting files from a server.

    <build>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>process-resources</phase>
            <configuration>
              <tasks>
				<ant antfile="build.xml" target="get.adobefiles"/>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  


> Maven build does not download files not inclued in the distribution
> -------------------------------------------------------------------
>
>                 Key: PDFBOX-573
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-573
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Yonas Jongkind
>
> The following plug-in call seems to be the best thing. Just run ant directly. There does not seem to be a maven equivalent for getting files from a server.
>     <build>
>     <plugins>
>       <plugin>
>         <artifactId>maven-antrun-plugin</artifactId>
>         <executions>
>           <execution>
>             <phase>process-resources</phase>
>             <configuration>
>               <tasks>
> 				<ant antfile="build.xml" target="get.adobefiles"/>
>               </tasks>
>             </configuration>
>             <goals>
>               <goal>run</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
>     </plugins>
> And the build.xml need to be modified from:
>     <target name="find.adobefiles">
>         <available property="adobefiles.found" file="${dest.dir}/Resources"/>
>     </target>
> to:
>     <target name="find.adobefiles">
>         <available property="adobefiles.found" file="${dest.dir}/Resources/cmap"/>
>     </target>
>   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.