!* CM error: don't know source class name /sml/lib/smlnj-lib.cm

00jt <[email protected]> Wed, 18 Mar 2009 10:49:57 -0700 (PDT)
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
Hi everyone, i am not an SML programmer, but i am supposed to be using some
.sml and .cm files with my Java GUI.

I have a file "myCM.cm"

that has this:
----------------------
Group is

	smlnj-lib.cm
              ...
-----------------------
And this part works if i run my command from the command line (or a .bat
file).
But Java is weird with its environment/PATH variables, and says "cannot find
smlnj-lib.cm".

I figured i could help java out by giving the absolute path to the
smlnj-lib.cm... so i changed it:

-------------------
Group is

	C:/sml/lib/smlnj-lib.cm
             ...
-------------------

But now, i get an error from CM (in my GUI and on the Command line):
      "!* CM error: don't know source class name /sml/lib/smlnj-lib.cm"

Does CM not like to have absolute paths for a class name? is there a way to
do that?
I am also trying to get Java to understand where the PATH is, but if I could
just change this one part in the CM, i believe everything would work.

Any help would be great, Thanks

-00JT


-- 
View this message in context: http://www.nabble.com/%21*-CM-error%3A-don%27t-know-source-class-name--sml-lib-smlnj-lib.cm-tp22584767p22584767.html
Sent from the SML/NJ mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com