[prev in list] [next in list] [prev in thread] [next in thread] 

List:       owasp-webscarab
Subject:    Re: [OWASP-WEBSCARAB] Scripting code
From:       Rogan Dawes <lists () dawes ! za ! net>
Date:       2006-01-12 5:47:12
Message-ID: 43C5ED60.2030107 () dawes ! za ! net
[Download RAW message or body]

David Stidolph wrote:

> Ok, how might I change the CLASSPATH for WebScarab?
>
Look for the following section of the build.xml file

    <target depends="compile" description="Build a jar file" name="build">
        <jar basedir="${build.dir}" jarfile="${jar}">
            <manifest>
                <attribute name="Main-Class" value="${mainclass}"/>
                <attribute
                    name="Class-Path"
                    value="${concurrentjar} ${htmlparserjar} 
${beanshelljar} ${jfreechartjar} ${jcommonjar} ${bsfjar} ${jhelpjar} 
${chardetjar} ${tagsoupjar} ${wsdljar}"
                />
                <!-- <attribute name="Built-By" value="${user.name}"/> -->
                <section name="common">
                    <attribute name="Implementation-Title" value="common"/>
                    <attribute name="Implementation-Version" 
value="${project.version}"/>
                    <attribute name="Implementation-Vendor" value="OWASP 
Foundation."/>
                </section>
            </manifest>
        </jar>
    </target>

Probably the easiest way to do it is to change the Class-Path attribute 
to include the directory under which your classes reside. i.e. make it 
look like

... ${wsdljar} lib/" />

if your classes are in a directory hierarchy under lib/

This is untested, but should work, I think.

Rogan


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Owasp-webscarab mailing list
Owasp-webscarab@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owasp-webscarab
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic