Changeset 6740


Ignore:
Timestamp:
07/27/10 16:12:56 (9 years ago)
Author:
bselinsky
Message:

comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/native/jar2lib/run2

    r6734 r6740  
     1# Variables that need to be defined 
     2 
     3# The base where everything you control is under 
     4 
    15BASEDIR=${HOME}/tst3 
     6 
     7# the path to the jni stuff 
     8 
    29JNI_PATH=/Users/bselinsky/tst3/jace 
     10 
     11# Path to any jars needed 
     12 
    313JARSDIR=${BASEDIR}/jars 
     14 
     15# Path to the Jar2Lib executable -- Also GetOpt 
     16 
    417JAR2LIBPATH=/Users/bselinsky/svn/trunk/components/native/j2l5 
     18 
     19# Path to the jace executable 
     20 
    521MYJACEDIR=/Users/bselinsky/svn/trunk/components/native/j2l4/out/src/jace 
    6 # MYJACEDIR=/Users/bselinsky/tst3/jace.39/jace/trunk/release/include/jace 
    7 # MYJACEDIR2=/Users/bselinsky/May7/loci/components/native/bf-cpp/proxies/include/jace/proxy/javax 
     22 
     23# Path needed for javax/swing/awt 
     24 
    825JAVAXPATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar 
     26 
     27# Any extra cpp files outside those created 
    928 
    1029EXTRA_FILES=${JARSDIR}/jace1.1.1/source/c++/source/jace/JFieldHelper.cpp:\ 
    1130${JARSDIR}/jace1.1.1/source/c++/source/jace/JClassImpl.cpp 
     31 
     32# Class path used to run Jar2Lib 
    1233 
    1334MAIN_CLASS_PATH=\ 
     
    2243${HOME}/bioFormats_src/trunk/components/native/bf-cpp/build/classes 
    2344 
     45# Class path passed to Jar2Lib 
     46 
    2447PASSED_CLASS_PATH=\ 
    2548/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar:\ 
     
    3356# Dont change anything after this line 
    3457# 
     58 
     59# Clean up old run 
    3560 
    3661rm -rf ${BASEDIR}/out 
     
    4772rm -rf ${BASEDIR}/src 
    4873mkdir ${BASEDIR}/src 
     74 
     75# check out version of bioformats and compile it 
     76 
    4977cd ${BASEDIR}/src 
    5078svn co http://skyking.microscopy.wisc.edu/svn/java/trunk 
     
    5482ant 
    5583 
     84cp -r ${BASEDIR}/src/trunk/components/native/bf-cpp/proxies/source/jace /Users/bselinsky/tst3/out/src/source 
     85 
     86# Run Jar2Lib 
     87# Actually create the proxies 
     88 
    5689cd ${BASEDIR} 
    57  
    58  
    59 echo AAAA 
    60  
    61 cp -r /Users/bselinsky/tst3/src/trunk/components/native/bf-cpp/proxies/source/jace /Users/bselinsky/tst3/out/src/source 
    62  
    63 ls /Users/bselinsky/tst3/out/src/source/jace/proxy/java/awt/Frame.cpp 
    64 date 
    65 ls -l /Users/bselinsky/tst3/src/trunk/components/native/bf-cpp/proxies/source/jace/proxy/java/awt/Frame.cpp 
    66 echo BBBB 
    6790 
    6891java \ 
     
    81104        -x ${EXTRA_FILES} 
    82105 
    83 echo CCCC 
    84 ls /Users/bselinsky/tst3/out/src/source/jace/proxy/java/awt/Frame.cpp 
    85 date 
    86 ls -l /Users/bselinsky/tst3/src/trunk/components/native/bf-cpp/proxies/source/jace/proxy/java/awt/Frame.cpp 
    87 echo DDDD 
    88  
    89          
    90  
    91106mkdir ${BASEDIR}/out/src/jace 
    92107cp ${BASEDIR}/jace/Prerequisites.cmake ${BASEDIR}/out/src/jace 
     
    94109 
    95110mv CMakeLists.txt ${BASEDIR}/out/src 
     111 
     112# Clean up naming issues 
    96113 
    97114ed - ${BASEDIR}/out/src/jace/proxy/loci/formats/CoreMetadata.cpp <<! 
     
    107124! 
    108125 
     126# Do the builds 
     127 
    109128cd ${BASEDIR}/out/src 
    110129 
Note: See TracChangeset for help on using the changeset viewer.