Menu

Build problems

Developers
prince
2010-05-22
2013-04-26
  • prince

    prince - 2010-05-22

    I have SVN revision 117. When I doing build, getting: "compile:
    C:\Users\Kyle\Documents\NetBeansProjects\l2fprod-common-7.3\lib\l2fprod-common-buttonbar.jar is a directory or can't be read. Not copying the libraries."

    Does anybody know ?

     
  • Codist Monk

    Codist Monk - 2010-05-22

    It seems to be a missing library, but since it doesn't generate errors, it's probably unused.
    I tried to fix that and some other problems in revision 119.

     
  • Kyle Flanigan

    Kyle Flanigan - 2010-05-22

    That was my fault. Accidentally included that and forgot to remove it.

     
  • prince

    prince - 2010-07-22

    "lib" directory is not created now in "dist" directory after clean+build. I can't also build a single jar because it looks for dist/lib directory.

     
  • Kyle Flanigan

    Kyle Flanigan - 2010-07-22

    Hm. It works fine for me. Try updating your svn. If that doesnt work try copying and pasting this into you build.xml file-

    <?xml version="1.0" encoding="UTF-8"?>
    <project name="JavaPoint" default="default" basedir=".">
        <description>Builds, tests, and runs the project JavaPoint.</description>
        <import file="nbproject/build-impl.xml"/>
        <import file="nbproject/profiler-build-impl.xml"/>
        
         <target name="package-for-store" depends="jar">
            <!-- Change the value of this property to be the name of your JAR,
                 minus the .jar extension. It should not have spaces.
                 <property name="store.jar.name" value="MyJarName"/>
            -->
            <property name="store.jar.name" value="JavaPoint"/>
            <!-- don't edit below this line -->
            <property name="store.dir" value="store"/>
            <property name="store.jar" value="${store.dir}/${store.jar.name}.jar"/>
            <echo message="Packaging ${application.title} into a single JAR at ${store.jar}"/>
            <delete dir="${store.dir}"/>
            <mkdir dir="${store.dir}"/>
            <jar destfile="${store.dir}/temp_final.jar" filesetmanifest="skip">
                <zipgroupfileset dir="dist" includes="*.jar"/>
                <zipgroupfileset dir="dist/lib" includes="*.jar"/>
                <manifest>
                    <attribute name="Main-Class" value="${main.class}"/>
                </manifest>
            </jar>
            <zip destfile="${store.jar}">
                <zipfileset src="${store.dir}/temp_final.jar"
                excludes="META-INF/*.SF, META-INF/*.DSA, META-INF/*.RSA"/>
            </zip>
            <delete file="${store.dir}/temp_final.jar"/>
        </target>
    </project>
    
     
  • prince

    prince - 2010-07-22

    I am up to date and it doesn't work with your build.xml also. I think the problem is in project.properties:

    1. It contains paths relatively to your machine: C:\\Users\\Kyle\\
    2. l2fprod-common-tasks.jar doesn't exist at all for me.

     
  • prince

    prince - 2010-07-22

    I changed paths to be relative to  location of project.properties and removed reference to l2fprod-common-tasks.jar, and now it works. I checked-in the file, pls check if it works for you.

     
  • Kyle Flanigan

    Kyle Flanigan - 2010-07-22

    It works fine for me.

     
  • prince

    prince - 2010-08-27

    Sources are not compiled after revision 311. New jars were not uploaded and project.properties contains
    file.reference.substance.jar=C:\\Users\\Kyle\\Downloads\\substance.jar
    file.reference.trident.jar=C:\\Users\\Kyle\\Downloads\\substance-all\\lib\\trident.jar

     
  • Kyle Flanigan

    Kyle Flanigan - 2010-08-28

    oops. That is my bad I forget that libraries are added with local refernces. I will fix this and recommit.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.