cancel
Showing results for 
Search instead for 
Did you mean: 

How configuration build.xml

mariobd
Champ in-the-making
Champ in-the-making
run buil.xml

1. Error
—–
Buildfile: D:\alfresco\HEAD\root\projects\repository\build.xml
compile-jibx-eclipse:
init:
     [echo] user.home = C:\Documents and Settings\mbocanegra
compile-repository-jibx:

BUILD FAILED
D:\alfresco\HEAD\root\projects\repository\build.xml:8: The following error occurred while executing this line:
D:\alfresco\HEAD\root\projects.xml:197: You must specify either a classpath or at least one nested classpathset element

build.xml
———–
<project name="repository-jibx-eclipse" default="compile-jibx-eclipse">

   <!– ********************************** –>
   <!– ** Initialisation/Configuration ** –>
   <!– ********************************** –>

   <target name="compile-jibx-eclipse">
      <ant dir="${basedir}/../.." target="compile-repository-jibx" />
   </target>

</project>


2. Error
———–
Buildfile: D:\alfresco\HEAD\root\build.xml
init:
     [echo] user.home = C:\Documents and Settings\mbocanegra
clean-core:
   [delete] Deleting directory D:\alfresco\HEAD\root\projects\core\build\classes
clean-jlan:
clean-mbeans:
clean-deployment:
clean-repository:
   [delete] Deleting directory D:\alfresco\HEAD\root\projects\repository\build\classes
clean-remoteapi:
clean-jndi:
clean-catalinavirtual:
clean-linkvalidation:
clean-webscriptframework:
clean-webframework:
clean-webframeworkcommons:
clean-slingshot:
clean-webclient:
clean-webserviceclient:
clean-webstudio:
clean-projects:
clean-avmcompare:
clean-blog:
clean-fb-doclib:
clean-kb:
clean-mediawiki:
clean-php:
clean-rm:
clean-truncatemalformedxml:
clean-modules:
clean-webclient-tomcat-deploy:
clean-application-tomcat-deploy:
clean-virtual-tomcat-deploy:
clean-tomcat-deployments:
clean:
compile-core:
    [mkdir] Created dir: D:\alfresco\HEAD\root\projects\core\build\classes
    [javac] Compiling 92 source files to D:\alfresco\HEAD\root\projects\core\build\classes

BUILD FAILED
D:\alfresco\HEAD\root\projects.xml:25: The following error occurred while executing this line:
D:\alfresco\HEAD\root\macros.xml:27: Error running javac.exe compiler

Total time: 12 seconds

How configuration build.xml file, any  idea

sorry my english is not very good!!
thank's
1 REPLY 1

mariobd
Champ in-the-making
Champ in-the-making
How  to configuration field ????, any idea??

<target name="compile-repository-jibx"
              depends="init">
         <!– load the JIBX task definition –>
         <taskdef name="bind"
                  classname="org.jibx.binding.ant.CompileTask"
            
                  classpath="${dir.project.3rdparty.lib}/jibx/jibx-bind.jar;${dir.project.3rdparty.lib}/jibx/jibx-run.jar;${dir.project.3rdparty.lib}/bcel.jar;${dir.project.3rdparty.lib}/xpp3-1.1.3_8.jar" />

         <bind verbose="false"
               load="true"
            
               binding="${file.jibx.binding.m2}">

thanks???


            
            <classpathset dir="${dir.project.repository.classes}"/>
           
          </bind>

   
         <bind verbose="false"
               load="true"
         
               binding="${file.jibx.binding.systeminfo}">
         
            <!–
            <classpathset dir="${dir.project.repository.classes}"/>
            –>
        </bind>
      
     </target>