Hello I am newbie in CQ5. I am trying to congigure CQ with eclipse .Followed all the steps given in this tutorials but still not getting JSP code completion.Please help me on this
Solved! Go to Solution.
Views
Replies
Total Likes
If you are using 5.6, the corresponding documentation is here: http://docs.adobe.com/docs/en/cq/5-6/developing/developmenttools/developing_with_eclipse.html. There may be differences between the 2 versions. At what step are you having trouble?
Views
Replies
Total Likes
If you are using 5.6, the corresponding documentation is here: http://docs.adobe.com/docs/en/cq/5-6/developing/developmenttools/developing_with_eclipse.html. There may be differences between the 2 versions. At what step are you having trouble?
Views
Replies
Total Likes
Have you included 'maven-jspc-plugin' in your maven.xml ? Can you give a snapshot of the same so that we can figure out if anything is missing or something gone wrong.
Views
Replies
Total Likes
@bisloki
I have added below jspc plug in my content pom.xml
<
build
>
<!-- ... -->
<
plugins
>
<!-- ... -->
<
plugin
>
<
artifactId
>maven-resources-plugin</
artifactId
>
<
executions
>
<
execution
>
<
id
>copy-resources</
id
>
<
phase
>generate-sources</
phase
>
<
goals
>
<
goal
>copy-resources</
goal
>
</
goals
>
<
configuration
>
<
outputDirectory
>${project.build.directory}/jsps-to-compile</
outputDirectory
>
<
resources
>
<
resource
>
<
directory
>src/main/content/jcr_root</
directory
>
<
excludes
>
<
exclude
>libs/**</
exclude
>
</
excludes
>
</
resource
>
</
resources
>
</
configuration
>
</
execution
>
</
executions
>
</
plugin
>
<
plugin
>
<
groupId
>org.apache.sling</
groupId
>
<
artifactId
>maven-jspc-plugin</
artifactId
>
<
version
>2.0.6</
version
>
<
executions
>
<
execution
>
<
id
>compile-jsp</
id
>
<
goals
>
<
goal
>jspc</
goal
>
</
goals
>
<
configuration
>
<
jasperClassDebugInfo
>false</
jasperClassDebugInfo
>
<
sourceDirectory
>${project.build.directory}/jsps-to-compile</
sourceDirectory
>
<
outputDirectory
>${project.build.directory}/ignoredjspc</
outputDirectory
>
</
configuration
>
</
execution
>
</
executions
>
</
plugin
>
<
plugin
>
<
artifactId
>maven-clean-plugin</
artifactId
>
<
executions
>
<
execution
>
<
id
>remove-compiled-jsps</
id
>
<
goals
>
<
goal
>clean</
goal
>
</
goals
>
<
phase
>process-classes</
phase
>
<
configuration
>
<
excludeDefaultDirectories
>true</
excludeDefaultDirectories
>
<
filesets
>
<
fileset
>
<
directory
>${project.build.directory}/jsps-to-compile</
directory
>
<
directory
>${project.build.directory}/ignoredjspc</
directory
>
</
fileset
>
</
filesets
>
</
configuration
>
</
execution
>
</
executions
>
</
plugin
>
</
plugins
>
</
build
>
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies