Hello!

Please, which is the correct way to use a class defined in another file in 
the same package?

I tried all the ways I could, but Iam getting "unexpected token: a @ line 
... column ....".

Does the upper/lower case in file names (mmethodi.groovy/MMethodI.groovy) 
play a role?



File #1 - mmethodi.groovy: (just definitions of mmethodi)

package org.medicalc; public class mmethodi implements java.io.Serializable 
...

File #2 - MBuildItem.groovy: (needs to use mmethodi)

package org.medicalc; import org.medicalc.mmethodi; import org.medicalc.*; 
public class MBuildItem implements java.io.Serializable
{
mmethodi xmeth;
...

Thanks!
Martin

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3fd0cf8e-2e1d-4a1a-b93b-b88a508fa19a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to