Skip to content
This repository

Fix a build failure due to missing project/lib folder #13

Open
wants to merge 1 commit into from

1 participant

Jaikiran
Jaikiran

The build used to fail due to missing jforum3/lib (which is used in the classpath path references in the build script). This commit fixes that issue by using Ant fileset's erroronmissingdir attribute to be set to false.

Note that this gets the build past this specific error but it fails later due to a lot of missing jars (like JPA, Hibernate and Spring).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

May 13, 2012
Jaikiran Fix build failures due to missing jforum3/lib folder 8e3c279
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  build.xml
8  build.xml
@@ -31,7 +31,7 @@
31 31
 	
32 32
 	<!-- Cobertura -->
33 33
 	<path id="cobertura.classpath">
34  
-		<fileset dir="${cobertura.libs.dir}">
  34
+		<fileset dir="${cobertura.libs.dir}" erroronmissingdir="false">
35 35
 			<include name="*.jar"/>
36 36
 		</fileset>
37 37
 	</path>
@@ -40,16 +40,16 @@
40 40
 	
41 41
 	<!-- Classpath declaration -->
42 42
     <path id="project.classpath">
43  
-        <fileset dir="${project.libs}">
  43
+        <fileset dir="${project.libs}" erroronmissingdir="false">
44 44
             <include name="**/*.jar"/>
45 45
         </fileset>
46 46
     </path>
47 47
 
48 48
 	<path id="base.path">
49  
-		<fileset dir="${project.libs}">
  49
+		<fileset dir="${project.libs}" erroronmissingdir="false">
50 50
 			<include name="**/*.jar" />
51 51
 		</fileset>
52  
-		<fileset dir="${custom.libs}">
  52
+		<fileset dir="${custom.libs}" erroronmissingdir="false">
53 53
 			<include name="**/*.jar" />
54 54
 		</fileset>
55 55
 	</path>
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.