Skip to Content

Issue Import Customer Library Coding

Hello,

I have a big problem with importing customer libraries.

Here a description of my libraries:

1. Library: Custom_Utilities

Path: package com.redwood.scheduler.custom.utilities;

2. Library: Custom_Actions

Path: package com.redwood.scheduler.custom.utilities;

(First I start with different paths for both libraries, but the I change it, because I thought that`s the problem. But it isn't)

Now, I wrote new classes and methods in Library Custom_Actions and I have to import a class of library Customer_Utitlies, but it doesn't work.

In library Custom_Actions I created a new source:

package com.redwood.scheduler.custom.utilities;

class: PostActions

Then I import as I done this a lot of times before with REDWOOD Sources:

package com.redwood.scheduler.custom.utilities;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Iterator;
import com.redwood.scheduler.*;
import com.redwood.scheduler.custom.utilities.*;
// Here is my problem:
// I need my class "CustTable" of library Customer_Utilities
import com.redwood.scheduler.custom.utilities.CustTable;

// The rest is working
import com.redwood.scheduler.api.model.Job;
import com.redwood.scheduler.api.model.JobFile;
import com.redwood.scheduler.api.model.JobParameter;
import com.redwood.scheduler.api.model.OperatorMessage;
import com.redwood.scheduler.api.model.SchedulerSession;
import com.redwood.scheduler.api.model.enumeration.JobFileType;
import com.redwood.scheduler.api.model.enumeration.JobStatus;
import com.redwood.scheduler.api.scripting.variables.PostRunningActionScriptObject;
import com.redwood.scheduler.api.search.SearchResult;
import com.redwood.scheduler.api.search.SearchResultSet;

If a try to save this I get the messages:

12:29:43 PM:

JCS-102183: Kompilierung für Library Custom_Actions fehlgeschl: PostActions.java:7:46:cannot resolve symbol symbol : class CustTable location: package utilities import com.redwood.scheduler.custom.utilities.CustTable;

JCS-102183: Kompilierung für Library Custom_Actions fehlgeschl: :1 error

I use this class also in library Custom_Utilities, here everything is working, so it seems a Cross Using Library problem, between Customer Libraries. Any ideas?

Kind Regards

Marc

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 07, 2011 at 06:59 PM

    Hello Marc,

    I am afraid that is not possible. Both Libraries are not in eachothers classpath. What I would do is to put both classes in the same Library, just add another source tab and you are OK. In that case they are both in the classpath and you can import them.

    Regards Gerben

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.