ok, you can do for example (correct the path below, I'm just guessing) CLASSPATH=C:\Program Files\projects\JibxSMT\build\classes
but it's strange that you don't even have jibx-run.jar in your classpath. Are you running ant on the command prompt or within an IDE? AD wrote: > i typed echo=%classpath% at the prompt . > > I got this : > > .;C:\Program Files\QuickTime\QTSystem\QTJava.zip;; > > > > > > On Thu, Jun 12, 2008 at 3:21 PM, Serkan Camurcuoglu > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > are you sure you're setting the CLASSPATH environment variable > correctly? If you are on windows, type > > echo %CLASSPATH% > > or on Unix/Linux type > > printenv CLASSPATH > > and check that the real path to your basedir/build/classes exists > on the > classpath.. Or post the classpath here if you can't decide.. > > > > AD wrote: > > i don think so .. > > > > my project directory structure is as follows : ;; > > JibxSMT/src/Publication.java .. > > > > On Thu, Jun 12, 2008 at 3:15 PM, Serkan Camurcuoglu > > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote: > > > > does your class have a package? > > > > > > AD wrote: > > > ok ..now i have changed ths target as follows : > > > > > > <!-- Run the binding compiler --> > > > <target name="bind" depends="check-binding"> > > > <!-- JiBX binding compiler task definition --> > > > <taskdef name = "bind" classname = > > "org.jibx.binding.ant.CompileTask"> > > > <classpath> > > > <pathelement location="${jibx-home}/lib/jibx-bind.jar"/> > > > </classpath> > > > </taskdef> > > > <echo message =" Running JiBX binding compiler "/> > > > <bind binding="${basedir}/binding.xml" verbose="true" > > load="true"> > > > <classpath refid="classpath"/> > > > <!-- <Classpathset dir = "$ (basedir) / build / > classes" /> --> > > > </bind> > > > </target> > > > > > > > > > > > > and my binding.xml looks llike this : > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > <binding> > > > <mapping name="Publication" class="Publication"> > > > <structure name="subscriber" field="subscriber"> > > > <value name="PUBLICATION_CODE" field="PUBLICATION_CODE" /> > > > <value name="FIRST_Name" field="FIRST_Name" /> > > > <value name="LAST_Name" field="LAST_Name" /> > > > <value name="EMAIL_ADDRESS" field="EMAIL_ADDRESS" /> > > > <value name="TELEPHONE_NUMBER" field="TELEPHONE_NUMBER" /> > > > <value name="FAX_NUMBER" field="FAX_NUMBER" /> > > > <value name="ENGLISH_TITLE" field="ENGLISH_TITLE" /> > > > <value name="COMPANY_NAME" field="COMPANY_NAME" /> > > > <value name="DEPARTMENT" field="DEPARTMENT" /> > > > </structure> > > > <value name="TRANSACTION_CODE" field="TRANSACTION_CODE" /> > > > <value name="PROMO_KEY" field="PROMO_KEY" /> > > > <value name="DELIVERY_ADDRESS_STREET" > > > field="DELIVERY_ADDRESS_STREET" /> > > > <value name="DELIVERY_ADDRESS_CITY" > > field="DELIVERY_ADDRESS_CITY" /> > > > <value name="DELIVERY_ADDRESS_STATE" > > field="DELIVERY_ADDRESS_STATE" /> > > > <value name="DELIVERY_ADDRESS_ZIP_CODE" > > > field="DELIVERY_ADDRESS_ZIP_CODE" /> > > > <value name="DELIVERY_ADDRESS_COUNTRY" > > > field="DELIVERY_ADDRESS_COUNTRY" /> > > > <value name="stateSOURCESOURCE" field="SOURCE" /> > > > <value name="VERIFICATION_DATE" field="VERIFICATION_DATE" /> > > > <value name="CLASS_OR_PAID_STATUS_OR_SUB_TYPE" > > > field="CLASS_OR_PAID_STATUS_OR_SUB_TYPE" /> > > > <value name="PERSONAL_ID" field="PERSONAL_ID" /> > > > <value name="DOLLAR_AMOUNT" field="DOLLAR_AMOUNT" /> > > > <value name="ACCOUNT_NUMBER" field="ACCOUNT_NUMBER" /> > > > <value name="TERM" field="TERM" /> > > > <value name="BILL_CODE" field="BILL_CODE" /> > > > <value name="TRANSACTION_DATE" field="TRANSACTION_DATE" /> > > > <value name="GROUP_NUMBER" field="GROUP_NUMBER" /> > > > <value name="MAILING_ADDRESS_CODE" > field="MAILING_ADDRESS_CODE" /> > > > <value name="DIGITAL" field="DIGITAL" /> > > > </mapping> > > > </binding> > > > > > > now its gives me this error : > > > > > > Error: Cannot find information for class Publication; on > mapping > > > element at (line 3, col 49, in JibxSMT/binding.xml) > > > > > > what is it that i am misssin ) :( > > > > > > > > > > > > > > > > > > > > > On Thu, Jun 12, 2008 at 2:41 PM, Harp, George > > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > > > <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>>> > > wrote: > > > > > > Is Publication à Publication.java? > > > > > > If I think it just needs to be in your class path. The arg > > values > > > I think are for binding.xml files, at least that is > the way the > > > maven release seems to relate to this > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > *From:* [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> > > > <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>> > > > [mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> > > > <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>>] *On Behalf Of *AD > > > *Sent:* Thursday, June 12, 2008 3:38 PM > > > > > > *To:* JiBX users > > > *Subject:* Re: [jibx-users] Jibx Usage - new to Jibx > > > > > > > > > > > > Any pointers on why its not accepting the file Publication > > in this > > > fashion would be great > > > > > > > > > > > > <arg value="${basedir}/src/Publication" /> > > > > > > > > > ------------------------------------------------------------------------ > > > The information contained in this communication may be > > > CONFIDENTIAL and is intended only for the use of the > > recipient(s) > > > named above. If you are not the intended recipient, > you are > > hereby > > > notified that any dissemination, distribution, or > copying of > > this > > > communication, or any of its contents, is strictly > > prohibited. If > > > you have received this communication in error, please > notify the > > > sender and delete/destroy the original message and any > copy > > of it > > > from your computer or paper files. > > > > > > > > > ------------------------------------------------------------------------- > > > Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > jibx-users mailing list > > > jibx-users@lists.sourceforge.net > <mailto:jibx-users@lists.sourceforge.net> > > <mailto:jibx-users@lists.sourceforge.net > <mailto:jibx-users@lists.sourceforge.net>> > > > <mailto:jibx-users@lists.sourceforge.net > <mailto:jibx-users@lists.sourceforge.net> > > <mailto:jibx-users@lists.sourceforge.net > <mailto:jibx-users@lists.sourceforge.net>>> > > > https://lists.sourceforge.net/lists/listinfo/jibx-users > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > ------------------------------------------------------------------------- > > > Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > jibx-users mailing list > > > jibx-users@lists.sourceforge.net > <mailto:jibx-users@lists.sourceforge.net> > > <mailto:jibx-users@lists.sourceforge.net > <mailto:jibx-users@lists.sourceforge.net>> > > > https://lists.sourceforge.net/lists/listinfo/jibx-users > > > > > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > jibx-users mailing list > > jibx-users@lists.sourceforge.net > <mailto:jibx-users@lists.sourceforge.net> > > <mailto:jibx-users@lists.sourceforge.net > <mailto:jibx-users@lists.sourceforge.net>> > > https://lists.sourceforge.net/lists/listinfo/jibx-users > > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > jibx-users mailing list > > jibx-users@lists.sourceforge.net > <mailto:jibx-users@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/jibx-users > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > <mailto:jibx-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/jibx-users > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users