ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# B.49 TypedefTask With the `TypedefTask` you can import a user type into your buildfile. Table B.51:聽Attributes NameTypeDescriptionDefaultRequired`classname``String`The path to the class that defines the type class.n/aYes`name``String`The name the type is available as after importing. If you specify "cproject", for example, you can access the type imported here with `<cproject>`.n/aYes`classpath``String`The classpath to use when including classes. This is added to PHP's include\_path.n/aNo`classpathref``String`Reference to classpath to use when including classes. This is added to PHP's include\_path.n/aNo B.49.1 Examples ``` <!-- Includes the Type named "CustomProject" and makes it available by <cproject> --> <typedef classname="user.types.CustomProject" name="cproject" /> ``` B.49.2 Supported Nested Tags - `classpath`